|
@@ -74,5 +74,11 @@ public class ImGroupController extends BaseController {
|
|
|
public HttpResponseResult<Boolean> update(@Valid @RequestBody ImGroup imGroup) throws Exception {
|
|
|
return succeed(imGroupService.updateById(imGroup));
|
|
|
}
|
|
|
+
|
|
|
+ @ApiOperation("获取指定用户的群列表")
|
|
|
+ @PostMapping(value = "/queryTeacherGroup")
|
|
|
+ public HttpResponseResult<List<ImGroupResultDto>> queryTeacherGroup(@RequestBody ImGroupSearchDto imGroupSearchDto) throws Exception {
|
|
|
+ return succeed(imGroupService.queryTeacherFun(imGroupSearchDto));
|
|
|
+ }
|
|
|
}
|
|
|
|