From b53d01f143877baa8025e02684dd8360d7053a74 Mon Sep 17 00:00:00 2001
From: Junjie <DELL@qq.com>
Date: 星期二, 23 十二月 2025 13:38:40 +0800
Subject: [PATCH] #
---
src/main/webapp/static/js/config/config.js | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/src/main/webapp/static/js/config/config.js b/src/main/webapp/static/js/config/config.js
index 4043b9c..bc6d223 100644
--- a/src/main/webapp/static/js/config/config.js
+++ b/src/main/webapp/static/js/config/config.js
@@ -130,6 +130,24 @@
});
}
break;
+ case 'refreshCache':
+ layer.confirm('纭畾鍒锋柊Redis缂撳瓨鍚�', function(){
+ $.ajax({
+ url: baseUrl+"/config/refreshCache",
+ headers: {'token': localStorage.getItem('token')},
+ method: 'POST',
+ success: function (res) {
+ if (res.code === 200){
+ layer.msg('鍒锋柊鎴愬姛');
+ } else if (res.code === 403){
+ top.location.href = baseUrl+"/";
+ } else {
+ layer.msg(res.msg)
+ }
+ }
+ })
+ });
+ break;
case 'exportData':
layer.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){
var titles=[];
--
Gitblit v1.9.1