websocket 重新封装

This commit is contained in:
YunaiV
2023-11-24 00:33:05 +08:00
parent f74ddf46ae
commit 1744c6ec6f
5 changed files with 125 additions and 43 deletions

View File

@ -35,3 +35,8 @@ export const updateNotice = (data: NoticeVO) => {
export const deleteNotice = (id: number) => {
return request.delete({ url: '/system/notice/delete?id=' + id })
}
// 推送公告
export const pushNotice = (id: number) => {
return request.post({ url: '/system/notice/push?id=' + id })
}