From 707e0ab1beeed7f34a4f10f963bb3b9060fcb9f4 Mon Sep 17 00:00:00 2001 From: yxh <172933527@qq.com> Date: 星期一, 05 二月 2024 14:37:12 +0800 Subject: [PATCH] yxh --- src/api/system/notice.js | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/api/system/notice.js b/src/api/system/notice.js index c274ea5..02d0a63 100644 --- a/src/api/system/notice.js +++ b/src/api/system/notice.js @@ -29,8 +29,8 @@ // 淇敼鍏憡 export function updateNotice(data) { return request({ - url: '/system/notice', - method: 'put', + url: '/system/notice/edit', + method: 'post', data: data }) } @@ -38,7 +38,7 @@ // 鍒犻櫎鍏憡 export function delNotice(noticeId) { return request({ - url: '/system/notice/' + noticeId, - method: 'delete' + url: '/system/notice/remove/' + noticeId, + method: 'get', }) } \ No newline at end of file -- Gitblit v1.9.3