From 2bf3fda0cd085d5e6af9b55471701e44768d26a9 Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期三, 20 十二月 2023 15:47:07 +0800
Subject: [PATCH] yxh:修改了银行账户管理

---
 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