From 2b429314862d131a067d4f60760d1b0d639b83fc Mon Sep 17 00:00:00 2001
From: 若依 <yzz_ivy@163.com>
Date: Sat, 01 Jan 2022 09:38:22 +0800
Subject: [PATCH] !133 减少一次sql查询(SysUser对象包含了角色列表) Merge pull request !133 from runphp/N/A

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

diff --git a/ruoyi-ui/src/api/system/dict/type.js b/ruoyi-ui/src/api/system/dict/type.js
index 83b66f4..526977d 100644
--- a/ruoyi-ui/src/api/system/dict/type.js
+++ b/ruoyi-ui/src/api/system/dict/type.js
@@ -43,10 +43,10 @@
   })
 }
 
-// 清理参数缓存
-export function clearCache() {
+// 刷新字典缓存
+export function refreshCache() {
   return request({
-    url: '/system/dict/type/clearCache',
+    url: '/system/dict/type/refreshCache',
     method: 'delete'
   })
 }

--
Gitblit v1.9.3