feat: system notice
This commit is contained in:
@@ -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,
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user