feat: 搜索中心 es 高级检索

This commit is contained in:
super_liu
2021-08-05 16:41:15 +08:00
parent 997543fcae
commit 098f6c0166
3 changed files with 161 additions and 118 deletions
@@ -19,7 +19,7 @@ public class SQLFilter {
for(int i$ = 0; i$ < len$; ++i$) {
String keyword = arr$[i$];
if (checkStr.indexOf(keyword) != -1 && checkStr.indexOf("selectindex") == -1 && checkStr.indexOf("selectvalue") == -1) {
if (checkStr.indexOf(keyword) != -1) {
throw new AdcDaBaseException("包含非法字符");
}
}