From ad70f145e8bea957b41043b4a1e37ce37cc5ed1e Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期二, 16 一月 2024 18:39:24 +0800
Subject: [PATCH] 指标完成
---
src/api/system/dict/type.js | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/api/system/dict/type.js b/src/api/system/dict/type.js
index a7a6e01..21d7de3 100644
--- a/src/api/system/dict/type.js
+++ b/src/api/system/dict/type.js
@@ -29,8 +29,8 @@
// 淇敼瀛楀吀绫诲瀷
export function updateType(data) {
return request({
- url: '/system/dict/type',
- method: 'put',
+ url: '/system/dict/type/edit',
+ method: 'post',
data: data
})
}
@@ -38,16 +38,16 @@
// 鍒犻櫎瀛楀吀绫诲瀷
export function delType(dictId) {
return request({
- url: '/system/dict/type/' + dictId,
- method: 'delete'
+ url: '/system/dict/type/remove/' + dictId,
+ method: 'get'
})
}
// 鍒锋柊瀛楀吀缂撳瓨
export function refreshCache() {
return request({
- url: '/system/dict/type/refreshCache',
- method: 'delete'
+ url: '/system/dict/type/refreshCache/remove',
+ method: 'get'
})
}
--
Gitblit v1.9.3