Commit 058d0c2c authored by 刘基明's avatar 刘基明

文本校验打印违规关键字fix

parent a14422ad
......@@ -87,6 +87,7 @@ public class TencentcloudUtils {
res = getTmsClient().TextModeration(req);
// suggestion Block 不通过
if (res.getSuggestion().equals("Block")) {
log.error("文本检验违规关键字:"+res.getKeywords());
return false;
}
} catch (TencentCloudSDKException e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment