commit | author | age
|
9bcb19
|
1 |
import { axios } from '@/utils/request' |
I |
2 |
|
|
3 |
/** |
|
4 |
* 查询系统通知公告 |
|
5 |
* |
|
6 |
* @author yubaoshan |
|
7 |
* @date 2020/6/30 01:56 |
|
8 |
*/ |
|
9 |
export function sysNoticePage (parameter) { |
|
10 |
return axios({ |
|
11 |
url: '/sysNotice/page', |
|
12 |
method: 'get', |
|
13 |
params: parameter |
|
14 |
}) |
|
15 |
} |
|
16 |
|
|
17 |
/** |
|
18 |
* 添加系统通知公告 |
|
19 |
* |
|
20 |
* @author yubaoshan |
|
21 |
* @date 2020/6/30 01:56 |
|
22 |
*/ |
|
23 |
export function sysNoticeAdd (parameter) { |
|
24 |
return axios({ |
|
25 |
url: '/sysNotice/add', |
|
26 |
method: 'post', |
|
27 |
data: parameter |
|
28 |
}) |
|
29 |
} |
|
30 |
|
|
31 |
/** |
|
32 |
* 编辑系统通知公告 |
|
33 |
* |
|
34 |
* @author yubaoshan |
|
35 |
* @date 2020/6/30 01:56 |
|
36 |
*/ |
|
37 |
export function sysNoticeEdit (parameter) { |
|
38 |
return axios({ |
|
39 |
url: '/sysNotice/edit', |
|
40 |
method: 'post', |
|
41 |
data: parameter |
|
42 |
}) |
|
43 |
} |
|
44 |
|
|
45 |
/** |
|
46 |
* 删除系统通知公告 |
|
47 |
* |
|
48 |
* @author yubaoshan |
|
49 |
* @date 2020/6/30 01:56 |
|
50 |
*/ |
|
51 |
export function sysNoticeDelete (parameter) { |
|
52 |
return axios({ |
|
53 |
url: '/sysNotice/delete', |
|
54 |
method: 'post', |
|
55 |
data: parameter |
|
56 |
}) |
|
57 |
} |
|
58 |
|
|
59 |
/** |
|
60 |
* 通知公告详情 |
|
61 |
* |
|
62 |
* @author yubaoshan |
|
63 |
* @date 2020/6/30 01:56 |
|
64 |
*/ |
|
65 |
export function sysNoticeDetail (parameter) { |
|
66 |
return axios({ |
|
67 |
url: '/sysNotice/detail', |
|
68 |
method: 'get', |
|
69 |
params: parameter |
|
70 |
}) |
|
71 |
} |
|
72 |
|
|
73 |
/** |
|
74 |
* 修改状态 |
|
75 |
* |
|
76 |
* @author yubaoshan |
|
77 |
* @date 2020/7/30 02:23 |
|
78 |
*/ |
|
79 |
export function sysNoticeChangeStatus (parameter) { |
|
80 |
return axios({ |
|
81 |
url: '/sysNotice/changeStatus', |
|
82 |
method: 'post', |
|
83 |
data: parameter |
|
84 |
}) |
|
85 |
} |