websocket 重新封装

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

No files matched your search

+5
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 })
}