Commit 65c96c21 by 田超

Merge branch 'feature/filterBook' into 'master'

feat: [none] filteBook

See merge request rays/pcloud-book!904
parents 1f49e6ea c9665c4d
......@@ -192,7 +192,9 @@ public class ESBookAndAdviserBizImpl implements ESBookAndAdviserBiz {
if (bookName.matches("^[`~!@#$%^&*()+=|{}:;\\[\\].<>/\\\\?~!@#¥%……()——+|{}【】‘;:”“’。,,、?0123456789]+$") ||
bookName.matches("(.*)([哈]{4,})(.*)") ||
bookName.matches("(.*)([或]{4,})(.*)") ||
bookName.matches("(.*)(红榜)(.*)")){
bookName.matches("(.*)(红榜)(.*)") ||
bookName.matches("(.*)\\$测试\\$(.*)")
){
iterator.remove();
}
}
......
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