From 89de1beb6fe245eb0c9f96e68cbe5cd46877e7d1 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期三, 22 十二月 2021 10:19:57 +0800 Subject: [PATCH] update 优化web拦截器 使用原生接口处理 默认非生产环境开启 --- ruoyi-ui/src/api/system/config.js | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ruoyi-ui/src/api/system/config.js b/ruoyi-ui/src/api/system/config.js index f2e792c..c193284 100644 --- a/ruoyi-ui/src/api/system/config.js +++ b/ruoyi-ui/src/api/system/config.js @@ -51,11 +51,11 @@ }) } -// 瀵煎嚭鍙傛暟 -export function exportConfig(query) { +// 鍒锋柊鍙傛暟缂撳瓨 +export function refreshCache() { return request({ - url: '/system/config/export', - method: 'get', - params: query + url: '/system/config/refreshCache', + method: 'delete' }) -} \ No newline at end of file +} + -- Gitblit v1.9.3