Browse Source

测试文案

xiexiaoyuan 2 years ago
parent
commit
93cf057c8a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      services/comment/comment.go

+ 1 - 1
services/comment/comment.go

@@ -78,7 +78,7 @@ func Comment(user user.UserInfo, req reqComment.ReqComment) (ret response.RespCo
 			if checkResult.Result != nil {
 				if checkResult.Result.Suggest != "pass" {
 					errMsg = "含有违禁词,不允许发布:" + checkResult.Result.Suggest +".命中标签:"+strconv.Itoa(checkResult.Result.Label)
-					err = errors.New("含有违禁词,不允许发布")
+					err = errors.New("含有违禁词,不允许发布")
 					return
 				}
 			}