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/post.js |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/api/system/post.js b/src/api/system/post.js
index 1a8e9ca..04b954b 100644
--- a/src/api/system/post.js
+++ b/src/api/system/post.js
@@ -29,8 +29,8 @@
 // 淇敼宀椾綅
 export function updatePost(data) {
   return request({
-    url: '/system/post',
-    method: 'put',
+    url: '/system/post/edit',
+    method: 'post',
     data: data
   })
 }
@@ -38,7 +38,7 @@
 // 鍒犻櫎宀椾綅
 export function delPost(postId) {
   return request({
-    url: '/system/post/' + postId,
-    method: 'delete'
+    url: '/system/post/remove/' + postId,
+    method: 'get'
   })
 }

--
Gitblit v1.9.3