From 93db1d88f576fad0a18938627a3c8ad4a32ade47 Mon Sep 17 00:00:00 2001 From: shenjiachi Date: Sat, 7 Dec 2024 12:08:03 +0800 Subject: [PATCH] update --- app/hdl/im/hdl_basic.go | 2 +- app/svc/im/svc_group.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 }