From d839943b0d194c14c1599f81a17105e7223a5075 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期五, 26 七月 2024 18:29:09 +0800 Subject: [PATCH] 11 --- 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