feat: system notice

This commit is contained in:
zchengo
2023-01-02 11:00:29 +08:00
parent 88d32fa6c5
commit 957c06ca1a
11 changed files with 389 additions and 59 deletions
+37
View File
@@ -0,0 +1,37 @@
import request from '../axios/index'
// 获取通知列表
export function updateNotice(param) {
return request({
url: '/notice/update',
method: 'put',
data: param,
})
}
// 获取通知列表
export function getNoticeCount(param) {
return request({
url: '/notice/count',
method: 'get',
params: param,
})
}
// 删除全部通知
export function deleteNotice(param) {
return request({
url: '/notice/delete',
method: 'delete',
data: param,
})
}
// 获取通知列表
export function getNoticeList(param) {
return request({
url: '/notice/list',
method: 'get',
params: param,
})
}