mirror of
https://github.com/dqjdda/Aurora.git
synced 2018-11-06 05:33:29 +00:00
update hutool
This commit is contained in:
@@ -154,7 +154,7 @@
|
||||
<dependency>
|
||||
<groupId>cn.hutool</groupId>
|
||||
<artifactId>hutool-all</artifactId>
|
||||
<version>4.1.8</version>
|
||||
<version>[4.1.12,)</version>
|
||||
</dependency>
|
||||
|
||||
<!-- quartz -->
|
||||
|
||||
@@ -86,7 +86,7 @@ spring:
|
||||
jpa:
|
||||
properties:
|
||||
hibernate:
|
||||
# show_sql: true
|
||||
show_sql: true
|
||||
# format_sql: true
|
||||
dialect: org.hibernate.dialect.MySQL5InnoDBDialect
|
||||
hibernate:
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<appender name="console" class="ch.qos.logback.core.ConsoleAppender">
|
||||
<encoder>
|
||||
<pattern>%black(%contextName-) %red(%d{yyyy-MM-dd HH:mm:ss}) %green([%thread]) %highlight(%-5level) %boldMagenta(%logger{36}) - %gray(%msg%n)</pattern>
|
||||
<charset>UTF-8</charset>
|
||||
<charset>utf-8</charset>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
||||
|
||||
@@ -99,7 +99,13 @@
|
||||
});
|
||||
|
||||
$("td[data-field$='times']").children().each(function () {
|
||||
$(this).html("<span class=\"layui-badge\">"+$(this).text()+"</span>");
|
||||
if($(this).text()<100){
|
||||
$(this).html("<span class=\"layui-badge layui-bg-cyan\">"+$(this).text()+"</span>");
|
||||
} else if($(this).text()<1000){
|
||||
$(this).html("<span class=\"layui-badge layui-bg-orange\">"+$(this).text()+"</span>");
|
||||
} else{
|
||||
$(this).html("<span class=\"layui-badge\">"+$(this).text()+"</span>");
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
@@ -74,13 +74,19 @@
|
||||
,{field:'operation', title: '描述',width:135}
|
||||
,{field:'method', title: '请求方法'}
|
||||
,{field:'params', title: '请求参数'}
|
||||
,{field:'time', align:'center', title: '耗时(毫秒)', width:90}
|
||||
,{field:'time', align:'center', title: '耗时(毫秒)', width:96}
|
||||
,{field:'createTime',width:160, title: '创建时间'}
|
||||
]
|
||||
]
|
||||
,done:function(res, curr, count) { //res 接口返回的信息
|
||||
$("td[data-field$='time']").children().each(function () {
|
||||
$(this).html("<span class=\"layui-badge\">"+$(this).text()+"</span>");
|
||||
if($(this).text()<100){
|
||||
$(this).html("<span class=\"layui-badge layui-bg-cyan\">"+$(this).text()+"</span>");
|
||||
} else if($(this).text()<1000){
|
||||
$(this).html("<span class=\"layui-badge layui-bg-orange\">"+$(this).text()+"</span>");
|
||||
} else{
|
||||
$(this).html("<span class=\"layui-badge\">"+$(this).text()+"</span>");
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
@@ -107,7 +107,7 @@
|
||||
$(this).html("<i class=\"layui-icon "+$(this).text()+"\"></i>");
|
||||
});
|
||||
$("td[data-field$='soft']").children().each(function () {
|
||||
$(this).html("<span class=\"layui-badge layui-bg-orange\">"+$(this).text()+"</span>");
|
||||
$(this).html("<span class=\"layui-badge layui-bg-cyan\">"+$(this).text()+"</span>");
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
{field: 'id', align: 'center', width: 130, title: 'sessionID'}
|
||||
, {field: 'username', title: '用户昵称'}
|
||||
, {field: 'host', title: '主机地址'}
|
||||
, {field: 'location', title: '所在地'}
|
||||
, {field: 'location', title: '所在地',width:190}
|
||||
, {field: 'status',width: 80, align: 'center',title: '状态'}
|
||||
, {field: 'startTimestamp',width: 170, title: '登录时间'}
|
||||
, {field: 'lastAccessTime',width: 170, title: '最近登录'}
|
||||
|
||||
Reference in New Issue
Block a user