From 99b062eeca471bdcbfcacd88e308fab9972cd6ec Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期二, 19 八月 2025 14:21:33 +0800
Subject: [PATCH] 展示优化
---
src/api/system/label.js | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/src/api/system/label.js b/src/api/system/label.js
index 2ec7c9e..448acb3 100644
--- a/src/api/system/label.js
+++ b/src/api/system/label.js
@@ -4,8 +4,8 @@
// 淇敼鏍囩
export function toamendtag(data) {
return request({
- url: '/base/tag',
- method: 'put',
+ url: '/base/tag/edit',
+ method: 'post',
data: data
})
};
@@ -16,23 +16,23 @@
isupload
}
return request({
- url: '/base/tag',
- method: 'put',
+ url: '/base/tag/edit',
+ method: 'post',
data: data
})
}
// 淇敼鏍囩绫诲埆
export function toamendtagcategory(data) {
return request({
- url: '/system/tagcategory',
- method: 'put',
+ url: '/system/tagcategory/edit',
+ method: 'post',
data: data
})
};
// 鏂板鏍囩
export function addapitag(data) {
return request({
- url: '/base/tag',
+ url: '/base/tag/add',
method: 'post',
data: data
})
@@ -69,8 +69,8 @@
*/
export function deletetag(tagids) {
return request({
- url: '/base/tag/' + tagids,
- method: 'delete',
+ url: '/base/tag/remove/' + tagids,
+ method: 'get',
})
};
/**
@@ -81,8 +81,8 @@
*/
export function deletetagcategory(tagid) {
return request({
- url: '/system/tagcategory/' + tagid,
- method: 'delete',
+ url: '/system/tagcategory/remove/' + tagid,
+ method: 'get',
})
};
/**
--
Gitblit v1.9.3