1.优化sql,提升用户登录速度

2.增加欺骗ip权限控制
This commit is contained in:
chenjinsong
2018-04-11 15:19:52 +08:00
parent 1f9a190924
commit 5fcd54c5f4
6 changed files with 34 additions and 12 deletions

View File

@@ -10,7 +10,7 @@
<script>
$(document).ready(function() {
top.window.scrollTo(0, 0);
})
});
function page(n,s){
if(n) $("#pageNo").val(n);
@@ -41,7 +41,7 @@ function checkNum(obj) {
<div class="page-content">
<div class="theme-panel hidden-xs hidden-sm">
<button type="button" class="btn btn-default" onclick="javascript:window.location='${ctx}/systemService/list'"><spring:message code="refresh"></spring:message></button>
<shiro:hasPermission name="system:service:view">
<shiro:hasPermission name="system:service:edit">
<button type="button" class="btn btn-primary" onClick="javascript:window.location='${ctx}/systemService/systemServiceform'"><spring:message code="add"></spring:message></button>
</shiro:hasPermission>
</div>
@@ -65,7 +65,7 @@ function checkNum(obj) {
<div class="col-md-12">
<div class="pull-left">
<form:select path="action" class="selectpicker select2 input-small">
<form:option value=""><spring:message code="all"/><spring:message code="act"/></form:option>
<form:option value=""><spring:message code="all"/> <spring:message code="act"/></form:option>
<form:option value="1"><spring:message code="block"/></form:option>
<form:option value="2"><spring:message code="monitor"/></form:option>
<form:option value="5"><spring:message code="block_white_list"/></form:option>
@@ -76,7 +76,7 @@ function checkNum(obj) {
</div>
<div class="pull-left">
<form:select path="serviceType" class="selectpicker select2 input-small">
<form:option value=""><spring:message code="all"/><spring:message code='type'/></form:option>
<form:option value=""><spring:message code="all"/> <spring:message code='type'/></form:option>
<form:option value="1"><spring:message code="single_domain"/></form:option>
<form:option value="2"><spring:message code="multi_domain"/></form:option>
<form:option value="3"><spring:message code="special_service"/></form:option>