From 65c54e73260d22926e175e337d72e6a9acfddd64 Mon Sep 17 00:00:00 2001 From: sendo <172933527@qq.com> Date: 星期三, 17 九月 2025 18:24:56 +0800 Subject: [PATCH] Merge branch 'master' of http://116.62.18.175:6699/r/~yxh/smartor-web --- src/api/smartor/svycategory.js | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/api/smartor/svycategory.js b/src/api/smartor/svycategory.js index a8b1d4a..39606cd 100644 --- a/src/api/smartor/svycategory.js +++ b/src/api/smartor/svycategory.js @@ -29,8 +29,8 @@ // 淇敼闂嵎鍒嗙被 export function updateSvycategory(data) { return request({ - url: '/smartor/svycategory', - method: 'put', + url: '/smartor/svycategory/edit', + method: 'post', data: data }) } @@ -38,7 +38,7 @@ // 鍒犻櫎闂嵎鍒嗙被 export function delSvycategory(id) { return request({ - url: '/smartor/svycategory/' + id, - method: 'delete' + url: '/smartor/svycategory/remove/' + id, + method: 'get' }) } -- Gitblit v1.9.3