We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7cae8b1 commit 379a774Copy full SHA for 379a774
src/main/java/org/b3log/symphony/util/QiniuTextCensor.java
@@ -82,6 +82,9 @@ public static JSONObject censor(String text) {
82
case "meaningless":
83
retResult.put("type", "无意义");
84
break;
85
+ default:
86
+ retResult.put("type", "未知");
87
+ break;
88
}
89
// 如果是涉政、暴恐、色情、违禁
90
if ("politics".equals(type) || "terrorism".equals(type) || "porn".equals(type) || "contraband".equals(type)) {
0 commit comments