| | |
| | | |
| | | export function getNoticeList() { |
| | | return request({ |
| | | url: 'api/system/notice/noticeList', |
| | | url: '/system/notice/noticeList', |
| | | method: 'get' |
| | | }) |
| | | } |
| | | |
| | | export function addNotice(data) { |
| | | return request({ |
| | | url: '/system/notice/addNotice', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | | |
| | | export function getNoticeDetail(params) { |
| | | return request({ |
| | | url: '/system/notice/getNoticeById', |
| | | method: 'get', |
| | | params: params |
| | | }) |
| | | } |
| | | |
| | | export function editNotice(params) { |
| | | return request({ |
| | | url: `/system/notice/editNotice`, |
| | | method: 'put', |
| | | data: params |
| | | }) |
| | | } |
| | | |
| | | export function delNotice(data) { |
| | | return request({ |
| | | url: `/system/notice/remove/` + data.id, |
| | | method: 'delete' |
| | | }) |
| | | } |
| | | |