From c09b09a73a7905f980f5ebb8f25df0500d7c8ccb Mon Sep 17 00:00:00 2001 From: WXL <wl_5969728@163.com> Date: 星期三, 24 九月 2025 16:15:26 +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 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