From 1ca4c26d816181c6dbe9f60ace518b66f62fc62e Mon Sep 17 00:00:00 2001
From: bug制造者 <837099748@qq.com>
Date: Wed, 07 Jul 2021 17:16:05 +0800
Subject: [PATCH] 修改登录失效返回值code401 之前返回的code200,前端就会$message一下错误信息,不会弹出401重新登录跳转的弹框。

---
 ruoyi-ui/src/api/system/config.js |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ruoyi-ui/src/api/system/config.js b/ruoyi-ui/src/api/system/config.js
index 00c96d5..7858c69 100644
--- a/ruoyi-ui/src/api/system/config.js
+++ b/ruoyi-ui/src/api/system/config.js
@@ -51,10 +51,10 @@
   })
 }
 
-// 清理参数缓存
-export function clearCache() {
+// 刷新参数缓存
+export function refreshCache() {
   return request({
-    url: '/system/config/clearCache',
+    url: '/system/config/refreshCache',
     method: 'delete'
   })
 }

--
Gitblit v1.9.3