From e8c62bd430b9697d3f954125b7ec9f61f18347a2 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期一, 20 十月 2025 11:19:34 +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