notice.js
614 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import request from '@/utils/request'
// ******消息中心******
// 历史消息查询
export function noticeGetAll(data) {
return request({
url: '/notice/getAll',
method: 'post',
data
})
}
// 消息详情
export function noticeGetById(data) {
return request({
url: '/notice/getById',
method: 'post',
data
})
}
// 消息详情
export function noticeDelete(data) {
return request({
url: '/notice/delete',
method: 'post',
data
})
}
// 发送消息
export function noticeSave(data) {
return request({
url: '/notice/save',
method: 'post',
data
})
}