ddos 日志去掉isblock 条件 ,保留一个保护ip菜单

This commit is contained in:
zhanghongqing
2018-11-14 09:16:20 +08:00
parent 90a80694b4
commit b73ceb15b1
2 changed files with 8 additions and 6 deletions

View File

@@ -55,12 +55,12 @@ public class DdosLogController extends BaseController{
Map<String, Object> params=new HashMap<>();
params.put("pageSize", page.getPageSize());
params.put("pageNo", page.getPageNo());
if(entry!=null&&entry.getIsBlock()!=null) {
/*if(entry!=null&&entry.getIsBlock()!=null) {
params.put("searchIsBlock", entry.getIsBlock());
}else {
entry.setIsBlock(1);//默认保护ddos日志
params.put("searchIsBlock", entry.getIsBlock());
}
}*/
//查询值判断
initLogSearchValue(entry,params);