From a9e21702aaa024c0f7f2c0e35c8585cae9cde724 Mon Sep 17 00:00:00 2001 From: dawn9117 <silanglang@163.com> Date: 星期五, 26 十一月 2021 13:55:32 +0800 Subject: [PATCH] 接口重复鉴权BUG修复: ResourceConfig中已经配置鉴权拦截器, 添加sa-token-spring-aop会导致重复鉴权BUG --- 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