ddos 日志去掉isblock 条件 ,保留一个保护ip菜单
This commit is contained in:
@@ -55,12 +55,12 @@ public class DdosLogController extends BaseController{
|
|||||||
Map<String, Object> params=new HashMap<>();
|
Map<String, Object> params=new HashMap<>();
|
||||||
params.put("pageSize", page.getPageSize());
|
params.put("pageSize", page.getPageSize());
|
||||||
params.put("pageNo", page.getPageNo());
|
params.put("pageNo", page.getPageNo());
|
||||||
if(entry!=null&&entry.getIsBlock()!=null) {
|
/*if(entry!=null&&entry.getIsBlock()!=null) {
|
||||||
params.put("searchIsBlock", entry.getIsBlock());
|
params.put("searchIsBlock", entry.getIsBlock());
|
||||||
}else {
|
}else {
|
||||||
entry.setIsBlock(1);//默认保护ddos日志
|
entry.setIsBlock(1);//默认保护ddos日志
|
||||||
params.put("searchIsBlock", entry.getIsBlock());
|
params.put("searchIsBlock", entry.getIsBlock());
|
||||||
}
|
}*/
|
||||||
//查询值判断
|
//查询值判断
|
||||||
initLogSearchValue(entry,params);
|
initLogSearchValue(entry,params);
|
||||||
|
|
||||||
|
|||||||
@@ -31,8 +31,8 @@ $(document).ready(function(){
|
|||||||
<div class="theme-panel hidden-xs hidden-sm">
|
<div class="theme-panel hidden-xs hidden-sm">
|
||||||
</div>
|
</div>
|
||||||
<h3 class="page-title">
|
<h3 class="page-title">
|
||||||
<c:if test="${log.isBlock eq 1 }"><spring:message code="protected_ddos"/></c:if>
|
<spring:message code="protected_ddos"/>
|
||||||
<c:if test="${log.isBlock eq 0 }"><spring:message code="usual_ddos"/></c:if>
|
<%-- <c:if test="${log.isBlock eq 0 }"><spring:message code="usual_ddos"/></c:if> --%>
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
<h5 class="page-header"></h5>
|
<h5 class="page-header"></h5>
|
||||||
@@ -142,13 +142,15 @@ $(document).ready(function(){
|
|||||||
<input id="dIp" name="dIp" class="form-control" type="text" value="${log.dIp}"/>
|
<input id="dIp" name="dIp" class="form-control" type="text" value="${log.dIp}"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-md-2">
|
<div class="col-md-2">
|
||||||
<label><spring:message code="cfg_id"></spring:message>:</label>
|
<label><spring:message code="cfg_id"></spring:message>:</label>
|
||||||
<input name="cfgId" type="text" class="form-control logCfgId number" value="${log.cfgId }"/>
|
<input name="cfgId" type="text" class="form-control logCfgId number" value="${log.cfgId }"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!-- /筛选搜索内容栏 结束-->
|
<!-- /筛选搜索内容栏 结束-->
|
||||||
</form:form>
|
</form:form>
|
||||||
|
|||||||
Reference in New Issue
Block a user