From d94d00d2cd9eaf87bb3776f72f8e73410b93cb7a Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期一, 18 十二月 2023 15:59:37 +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