是否聊天接口修改
This commit is contained in:
@@ -10,14 +10,16 @@ export class ProgramController {
|
||||
) {
|
||||
}
|
||||
|
||||
// 查询项目列表
|
||||
@Get("/list")
|
||||
getList(@Query() program: ProgramEntity) {
|
||||
return this.programService.getList(program);
|
||||
}
|
||||
|
||||
@Get("/list2")
|
||||
getList2(@Query() program: ProgramEntity) {
|
||||
return this.programService.getList(program);
|
||||
// 是否有过聊天
|
||||
@Get("isChat")
|
||||
isChat(@Query() group: ProgramGroupEntity) {
|
||||
return this.programService.isChat(group);
|
||||
}
|
||||
|
||||
@Post()
|
||||
@@ -25,11 +27,6 @@ export class ProgramController {
|
||||
return this.programService.add(program);
|
||||
}
|
||||
|
||||
@Get("isChat")
|
||||
isChat(@Query() group: ProgramGroupEntity) {
|
||||
return this.programService.isChat(group);
|
||||
}
|
||||
|
||||
@Get("/:id")
|
||||
getById(@Param("id") id: number) {
|
||||
return this.programService.getById(id);
|
||||
|
||||
Reference in New Issue
Block a user