From f13c99f6d68c4faf083ca269e9925f331c9bfdde Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期二, 19 八月 2025 13:53:00 +0800
Subject: [PATCH] 统计页面数据接入

---
 src/api/system/config.js |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/api/system/config.js b/src/api/system/config.js
index a404d82..3f5ab8b 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,15 +46,15 @@
 // 鍒犻櫎鍙傛暟閰嶇疆
 export function delConfig(configId) {
   return request({
-    url: '/system/config/' + configId,
-    method: 'delete'
+    url: '/system/config/remove/' + configId,
+    method: 'get'
   })
 }
 
 // 鍒锋柊鍙傛暟缂撳瓨
 export function refreshCache() {
   return request({
-    url: '/system/config/refreshCache',
-    method: 'delete'
+    url: '/system/config/refreshCache/remove',
+    method: 'get'
   })
 }

--
Gitblit v1.9.3