yxh
yxh
2024-01-03 ad33e8834b09f52f3751be207b75346ab6be7494
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',
  })
}