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 }