You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.1 KiB
45 lines
1.1 KiB
<#include "../../_include/_t.ftl"/>
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title></title>
|
|
<#include "../../_include/_h.ftl"/>
|
|
<#include "../../_include/_l.ftl"/>
|
|
<#include "../../_include/admin/_c.ftl"/>
|
|
</head>
|
|
<body>
|
|
<div class="page_div">
|
|
<blockquote class="layui-elem-quote">
|
|
${title}
|
|
</blockquote>
|
|
<div class="layui-bg-black home_top">
|
|
<div class="panel">
|
|
<i class="layui-icon"></i>
|
|
</div>
|
|
<div>
|
|
<p style="margin:20px;">
|
|
<button id="cacheBtn" class="layui-btn layui-btn-xs layui-btn-danger" style="font-size:22px;height:90px;padding:0 20px;">点击加载(刷新)所有核心系统数据(包括手机端数据)到系统缓存中</button>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
layuiplus.on(function(){
|
|
layuiplus.init(0);
|
|
//加载缓存按钮===============================================================
|
|
$("#cacheBtn").click(function(){
|
|
$.ajax({
|
|
type:"get",
|
|
url:"${ctx}/admin/data/cache/reload",
|
|
dataType:"json",
|
|
success:function(data){
|
|
if(data.status == true){
|
|
layer.msg("操作成功",{time:2000});
|
|
}
|
|
}
|
|
});
|
|
});
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|