From 8e1b8a3a3fc5cc91571bfc18c166335a40509b83 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期三, 22 七月 2020 18:46:34 +0800 Subject: [PATCH] 全注入 可能会出现小白乱用的情况 改成@Autowired构造注入 --- ruoyi-ui/src/api/system/dict/type.js | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/ruoyi-ui/src/api/system/dict/type.js b/ruoyi-ui/src/api/system/dict/type.js index b8d974e..37034d2 100644 --- a/ruoyi-ui/src/api/system/dict/type.js +++ b/ruoyi-ui/src/api/system/dict/type.js @@ -43,6 +43,14 @@ }) } +// 娓呯悊鍙傛暟缂撳瓨 +export function clearCache() { + return request({ + url: '/system/dict/type/clearCache', + method: 'delete' + }) +} + // 瀵煎嚭瀛楀吀绫诲瀷 export function exportType(query) { return request({ @@ -58,4 +66,4 @@ url: '/system/dict/type/optionselect', method: 'get' }) -} \ No newline at end of file +} -- Gitblit v1.9.3