From 1270b056d5630001accff9a010af85a49f89b841 Mon Sep 17 00:00:00 2001 From: wugh <328043740@qq.com> Date: 星期五, 19 三月 2021 19:28:43 +0800 Subject: [PATCH] [bug修复] 解决调整验证码干扰的类型无效,只用circle的bug [优化] 调整使用那种验证码的逻辑判断,使用switch优化,并减少重复代码 --- 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