From a92667c00093c4fa66a0b9602d8c18a35823571e Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期五, 20 五月 2022 16:23:52 +0800
Subject: [PATCH] 新增获取配置文件中的属性值方法
---
ruoyi-ui/src/api/system/dict/type.js | 17 ++++++++++++-----
1 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/ruoyi-ui/src/api/system/dict/type.js b/ruoyi-ui/src/api/system/dict/type.js
index 80a6cfa..526977d 100644
--- a/ruoyi-ui/src/api/system/dict/type.js
+++ b/ruoyi-ui/src/api/system/dict/type.js
@@ -43,11 +43,18 @@
})
}
-// 瀵煎嚭瀛楀吀绫诲瀷
-export function exportType(query) {
+// 鍒锋柊瀛楀吀缂撳瓨
+export function refreshCache() {
return request({
- url: '/system/dict/type/export',
- method: 'get',
- params: query
+ url: '/system/dict/type/refreshCache',
+ method: 'delete'
})
}
+
+// 鑾峰彇瀛楀吀閫夋嫨妗嗗垪琛�
+export function optionselect() {
+ return request({
+ url: '/system/dict/type/optionselect',
+ method: 'get'
+ })
+}
\ No newline at end of file
--
Gitblit v1.9.3