|
@@ -80,7 +80,7 @@ public class ImGroupController extends BaseController {
|
|
|
@ApiOperation("退出群聊")
|
|
|
@PostMapping(value = "/quit/{groupId}")
|
|
|
public HttpResponseResult quit(@ApiParam(value = "群编号", required = true) @PathVariable("groupId") String groupId,
|
|
|
- @RequestParam(value = "quit",required = false, defaultValue = "false") boolean quit
|
|
|
+ @RequestParam(value = "quit",required = false, defaultValue = "true") boolean quit
|
|
|
) throws Exception {
|
|
|
imGroupService.quit(groupId,sysUserService.getUserId(), ClientEnum.STUDENT, quit);
|
|
|
return succeed();
|