From 8349e631d2cbef27d2f0c841a37ce499e69ecaff Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期六, 12 六月 2021 20:14:50 +0800 Subject: [PATCH] update 优化 异步工厂重写 使用 spring 异步处理 --- ruoyi-ui/src/api/system/config.js | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/ruoyi-ui/src/api/system/config.js b/ruoyi-ui/src/api/system/config.js index f2e792c..4c5cb6b 100644 --- a/ruoyi-ui/src/api/system/config.js +++ b/ruoyi-ui/src/api/system/config.js @@ -51,6 +51,14 @@ }) } +// 鍒锋柊鍙傛暟缂撳瓨 +export function refreshCache() { + return request({ + url: '/system/config/refreshCache', + method: 'delete' + }) +} + // 瀵煎嚭鍙傛暟 export function exportConfig(query) { return request({ @@ -58,4 +66,4 @@ method: 'get', params: query }) -} \ No newline at end of file +} -- Gitblit v1.9.3