|
@@ -2,7 +2,9 @@ package com.webchat.controller.client;
|
|
|
|
|
|
import com.webchat.common.bean.APIResponseBean;
|
|
|
import com.webchat.common.bean.APIResponseBeanUtil;
|
|
|
+import com.webchat.common.constants.WebConstant;
|
|
|
import com.webchat.common.enums.ClickEvent;
|
|
|
+import com.webchat.common.enums.RedisKeyEnum;
|
|
|
import com.webchat.common.enums.RoleCodeEnum;
|
|
|
import com.webchat.common.helper.SessionHelper;
|
|
|
import com.webchat.common.util.AvatarUtil;
|
|
@@ -174,6 +176,9 @@ public class UserController {
|
|
|
*
|
|
|
* @return
|
|
|
*/
|
|
|
+
|
|
|
+ @ValidateLogin
|
|
|
+ @SafeClick(event = ClickEvent.CREATE_GROUP, time = 2000, message = "群聊创建中")
|
|
|
@PostMapping("/createChatGroup")
|
|
|
public APIResponseBean createChatGroup(@RequestBody CreateGroupRequestVO requestPram) {
|
|
|
|