From f64155f6ad27c50451bb7d4a15f553bc72ead7de Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期五, 12 九月 2025 14:35:26 +0800
Subject: [PATCH] 年龄计算相关
---
src/api/system/dict/type.js | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/api/system/dict/type.js b/src/api/system/dict/type.js
index 947be41..07850d0 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,8 +38,8 @@
// 鍒犻櫎瀛楀吀绫诲瀷
export function delType(dictId) {
return request({
- url: '/system/dict/type/' + dictId,
- method: 'delete'
+ url: '/system/dict/type/remove/' + dictId,
+ method: 'get',
})
}
@@ -47,7 +47,7 @@
export function refreshCache() {
return request({
url: '/system/dict/type/refreshCache',
- method: 'delete'
+ method: 'get',
})
}
--
Gitblit v1.9.3