From 8f059b6cc8daf96433ac699543996c9e1260023c Mon Sep 17 00:00:00 2001
From: sinake <sinake1@qq.com>
Date: 星期五, 30 十月 2026 09:58:04 +0800
Subject: [PATCH] Merge branch 'master' of http://116.62.18.175:6699/r/~yxh/opo-web

---
 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 434cd35..bbb5541 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,8 +38,8 @@
 // 鍒犻櫎宀椾綅
 export function delPost(postId) {
   return request({
-    url: '/system/post/' + postId,
-    method: 'delete'
+    url: '/system/post/remove/' + postId,
+    method: 'get',
   })
 }
 

--
Gitblit v1.9.3