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' }) }