feat: 完成通知公告功能
This commit is contained in:
@@ -42,4 +42,19 @@ export function delNotice(ids) {
|
||||
method: 'delete',
|
||||
params:{id:ids}
|
||||
})
|
||||
}
|
||||
|
||||
// 发送在线公告
|
||||
export function sendOnlineNotice(id) {
|
||||
return request({
|
||||
url: '/notice/online/'+id,
|
||||
method: 'post',
|
||||
})
|
||||
}
|
||||
// 发送离线公告
|
||||
export function sendOfflineNotice(id) {
|
||||
return request({
|
||||
url: '/notice/offline/'+id,
|
||||
method: 'post',
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user