From 3323c96f78bb09b1b2d435d863a593c9a099c269 Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期一, 22 四月 2024 15:22:04 +0800
Subject: [PATCH] Merge branch 'master' of http://116.62.18.175:6699/r/~yxh/opo-web
---
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