From bb60b5747d5f4b85655a541d4990ec7464497b1b Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期五, 10 五月 2024 18:18:02 +0800 Subject: [PATCH] 代码提交 --- ruoyi-ui/src/api/system/config.js | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ruoyi-ui/src/api/system/config.js b/ruoyi-ui/src/api/system/config.js index a404d82..9d651fe 100644 --- a/ruoyi-ui/src/api/system/config.js +++ b/ruoyi-ui/src/api/system/config.js @@ -28,7 +28,7 @@ // 鏂板鍙傛暟閰嶇疆 export function addConfig(data) { return request({ - url: '/system/config', + url: '/system/config/add', method: 'post', data: data }) @@ -37,8 +37,8 @@ // 淇敼鍙傛暟閰嶇疆 export function updateConfig(data) { return request({ - url: '/system/config', - method: 'put', + url: '/system/config/edit', + method: 'post', data: data }) } @@ -47,7 +47,7 @@ export function delConfig(configId) { return request({ url: '/system/config/' + configId, - method: 'delete' + method: 'get' }) } @@ -55,6 +55,6 @@ export function refreshCache() { return request({ url: '/system/config/refreshCache', - method: 'delete' + method: 'get' }) } -- Gitblit v1.9.3