From 3c8a57841ba120f008bded91068fa73d898682e6 Mon Sep 17 00:00:00 2001 From: liwei <2211068034@qq.com> Date: Sun, 25 Jun 2023 16:24:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E9=94=99=E8=AF=AF=E5=90=97?= =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/sociaty/api_cross_create.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/sociaty/api_cross_create.go b/modules/sociaty/api_cross_create.go index 15ea0137d..264a5b019 100644 --- a/modules/sociaty/api_cross_create.go +++ b/modules/sociaty/api_cross_create.go @@ -50,9 +50,9 @@ func (this *apiComp) Create(session comm.IUserSession, req *pb.SociatyCreateReq) if len(req.Notice) > 0 { if iscompliance, inscriptionwords := wordfilter.Validate(req.Notice); !iscompliance { errdata = &pb.ErrorData{ - Code: pb.ErrorCode_SociatyNameInscriptionWords, - Title: pb.ErrorCode_SociatyNameInscriptionWords.ToString(), - Message: fmt.Sprintf("工会名称包含铭感词:%s", inscriptionwords), + Code: pb.ErrorCode_SociatyNoticeInscriptionWords, + Title: pb.ErrorCode_SociatyNoticeInscriptionWords.ToString(), + Message: fmt.Sprintf("工会公告包含铭感词:%s", inscriptionwords), } return }