From b73b5dd97cbda40d0584f579ed9f65f4fcffe23f Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期一, 31 三月 2025 15:33:02 +0800 Subject: [PATCH] 测试完成 --- src/api/system/tag.js | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/api/system/tag.js b/src/api/system/tag.js index d7d085e..0b86931 100644 --- a/src/api/system/tag.js +++ b/src/api/system/tag.js @@ -3,8 +3,8 @@ // 鏌ヨ鏍囩鍒楄〃 export function listTag(query) { return request({ - url: '/system/tag/list', - method: 'get', + url: '/base/tag/list', + method: 'post', params: query }) } @@ -12,7 +12,7 @@ // 鏌ヨ鏍囩璇︾粏 export function getTag(tagid) { return request({ - url: '/system/tag/' + tagid, + url: '/base/tag/' + tagid, method: 'get' }) } @@ -20,7 +20,7 @@ // 鏂板鏍囩 export function addTag(data) { return request({ - url: '/system/tag', + url: '/base/tag', method: 'post', data: data }) @@ -29,8 +29,8 @@ // 淇敼鏍囩 export function updateTag(data) { return request({ - url: '/system/tag', - method: 'put', + url: '/base/tag/edit', + method: 'post', data: data }) } @@ -38,7 +38,7 @@ // 鍒犻櫎鏍囩 export function delTag(tagid) { return request({ - url: '/system/tag/' + tagid, - method: 'delete' + url: '/base/tag/remove/' + tagid, + method: 'get' }) } -- Gitblit v1.9.3