将web项目的config文件分散到jar包里,让web项目更简洁。

This commit is contained in:
thinkgem
2018-08-12 19:55:32 +08:00
parent 225a6a94ad
commit 849b3a7ec0
5 changed files with 23 additions and 81 deletions

View File

@@ -5,7 +5,8 @@
</a>
<script>
function refreshOnlineCount(){
$.get('${ctx}/sys/online/count?__notUpdateSession=true&__t='+new Date().getTime(), function(data){
$.get('${ctx}/sys/online/count?__notUpdateSession=true&__t='
+ new Date().getTime(), function(data){
try{$('#onlineCount').html(Number(data))}catch(e){}
})
}