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/dict/type.js | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ruoyi-ui/src/api/system/dict/type.js b/ruoyi-ui/src/api/system/dict/type.js index a7a6e01..14ab7b8 100644 --- a/ruoyi-ui/src/api/system/dict/type.js +++ b/ruoyi-ui/src/api/system/dict/type.js @@ -20,7 +20,7 @@ // 鏂板瀛楀吀绫诲瀷 export function addType(data) { return request({ - url: '/system/dict/type', + url: '/system/dict/type/add', method: 'post', data: data }) @@ -29,8 +29,8 @@ // 淇敼瀛楀吀绫诲瀷 export function updateType(data) { return request({ - url: '/system/dict/type', - method: 'put', + url: '/system/dict/type/edit', + method: 'post', data: data }) } @@ -39,7 +39,7 @@ export function delType(dictId) { return request({ url: '/system/dict/type/' + dictId, - method: 'delete' + method: 'get' }) } @@ -47,7 +47,7 @@ export function refreshCache() { return request({ url: '/system/dict/type/refreshCache', - method: 'delete' + method: 'get' }) } @@ -57,4 +57,4 @@ url: '/system/dict/type/optionselect', method: 'get' }) -} \ No newline at end of file +} -- Gitblit v1.9.3