From b7a98af7afc2eb03593eb5b82a3564f2db71a099 Mon Sep 17 00:00:00 2001
From: liujiming <liujm@wealthgrow.cn>
Date: Tue, 28 Sep 2021 17:35:29 +0800
Subject: [PATCH] =?UTF-8?q?=E6=96=87=E6=9C=AC=E6=A0=A1=E9=AA=8C=E6=89=93?=
 =?UTF-8?q?=E5=8D=B0=E8=BF=9D=E8=A7=84=E5=85=B3=E9=94=AE=E5=AD=97fix?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../main/java/com/tanpu/community/manager/ThemeManager.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/community-service/src/main/java/com/tanpu/community/manager/ThemeManager.java b/community-service/src/main/java/com/tanpu/community/manager/ThemeManager.java
index f80abb5..3258cac 100644
--- a/community-service/src/main/java/com/tanpu/community/manager/ThemeManager.java
+++ b/community-service/src/main/java/com/tanpu/community/manager/ThemeManager.java
@@ -831,13 +831,13 @@ public class ThemeManager {
         while (content.length() > 5000) {
             b = TencentcloudUtils.textModeration(content.substring(0, 5000));
             if (StringUtils.isNotBlank(b)) {
-                throw new BizException(ErrorCodeConstant.CONTENT_ILLEGAL.getCode(),ErrorCodeConstant.CONTENT_ILLEGAL.getMsg()+b);
+                throw new BizException(ErrorCodeConstant.CONTENT_ILLEGAL.getCode(),"疑似违规词汇:"+b);
             }
             content = content.substring(5000);
         }
         b = TencentcloudUtils.textModeration(content);
         if (StringUtils.isNotBlank(b)) {
-            throw new BizException(ErrorCodeConstant.CONTENT_ILLEGAL.getCode(),ErrorCodeConstant.CONTENT_ILLEGAL.getMsg()+b);
+            throw new BizException(ErrorCodeConstant.CONTENT_ILLEGAL.getCode(),"疑似违规词汇:"+b);
         }
 
 
-- 
2.18.1