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/config.js | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/api/system/config.js b/src/api/system/config.js
index 95af138..356d1bb 100644
--- a/src/api/system/config.js
+++ b/src/api/system/config.js
@@ -37,8 +37,8 @@
// 淇敼鍙傛暟閰嶇疆
export function updateConfig(data) {
return request({
- url: '/system/config',
- method: 'put',
+ url: '/system/config/edit',
+ method: 'post',
data: data
})
}
@@ -46,8 +46,8 @@
// 鍒犻櫎鍙傛暟閰嶇疆
export function delConfig(configId) {
return request({
- url: '/system/config/' + configId,
- method: 'delete'
+ url: '/system/config/remove/' + configId,
+ method: 'get',
})
}
@@ -55,7 +55,7 @@
export function refreshCache() {
return request({
url: '/system/config/refreshCache',
- method: 'delete'
+ method: 'get',
})
}
--
Gitblit v1.9.3