diff --git a/app/hdl/im/hdl_basic.go b/app/hdl/im/hdl_basic.go index e0cda63..e9538b3 100644 --- a/app/hdl/im/hdl_basic.go +++ b/app/hdl/im/hdl_basic.go @@ -27,7 +27,7 @@ func GetBasic(c *gin.Context) { ProhibitAddGroupMembers: res[enum.ProhibitAddGroupMembers], ProhibitRemoveGroupMembers: res[enum.ProhibitRemoveGroupMembers], ProhibitUpdateGroupName: res[enum.ProhibitUpdateGroupName], - ChatSensitiveWords: res[enum.ProhibitUpdateGroupName], + ChatSensitiveWords: res[enum.ChatSensitiveWords], } e.OutSuc(c, resp, nil) diff --git a/app/svc/im/svc_group.go b/app/svc/im/svc_group.go index a41e468..f4b75e3 100644 --- a/app/svc/im/svc_group.go +++ b/app/svc/im/svc_group.go @@ -82,6 +82,7 @@ func GroupList(req md.GroupListReq) (err error, resp md.GroupListResp) { tmp.Nickname = user.Nickname } } + resp.List = append(resp.List, tmp) } return }