fix(88798): 条款内容非法字符问题

This commit is contained in:
yjz
2024-08-21 10:53:35 +08:00
parent 41005a4689
commit 5f716606a6
@@ -27,7 +27,7 @@ public class SqlFilter {
int index = StringUtils.indexOfIgnoreCase(str, keyword + " "); int index = StringUtils.indexOfIgnoreCase(str, keyword + " ");
if (index != -1) { if (index != -1) {
// 判断是否是条款内容 // 判断是否是条款内容
if (str.contains("itemContent:") || str.contains("item_content:")){ if (str.contains("itemContent") || str.contains("item_content")){
break; break;
} }
throw new JeroBootException("包含非法字符"); throw new JeroBootException("包含非法字符");