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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
| /* eslint-disable */
| // @ts-ignore
| import { request } from '@/utils/request';
|
| /** 新增系统公告 POST /api/SystemNotice/AddNotice */
| export async function addNotice(body: API.AddNoticeInput, options?: API.RequestConfig) {
| return request<number>('/api/SystemNotice/AddNotice', {
| method: 'POST',
| headers: {
| 'Content-Type': 'application/json',
| },
| data: body,
| ...(options || {}),
| });
| }
|
| /** 删除系统公告 POST /api/SystemNotice/FakeDeleteNotice */
| export async function fakeDeleteNotice(body: API.BaseIdInput, options?: API.RequestConfig) {
| return request<number>('/api/SystemNotice/FakeDeleteNotice', {
| method: 'POST',
| headers: {
| 'Content-Type': 'application/json',
| },
| data: body,
| ...(options || {}),
| });
| }
|
| /** 获取系统公告详情 POST /api/SystemNotice/GetSystemNoticeDetail */
| export async function getSystemNoticeDetail(
| body: API.QuerySystemNoticeDetailInput,
| options?: API.RequestConfig
| ) {
| return request<API.SystemNoticeDetailDto>('/api/SystemNotice/GetSystemNoticeDetail', {
| method: 'POST',
| headers: {
| 'Content-Type': 'application/json',
| },
| data: body,
| ...(options || {}),
| });
| }
|
| /** 获取系统公告分页列表 POST /api/SystemNotice/GetSystemNoticePage */
| export async function getSystemNoticePage(
| body: API.QuerySystemNoticeListInput,
| options?: API.RequestConfig
| ) {
| return request<API.SystemNoticeListDtoPageOutput>('/api/SystemNotice/GetSystemNoticePage', {
| method: 'POST',
| headers: {
| 'Content-Type': 'application/json',
| },
| data: body,
| ...(options || {}),
| });
| }
|
| /** 获取系统公告展示 POST /api/SystemNotice/GetSystemNoticeShow */
| export async function getSystemNoticeShow(body: API.PageInput, options?: API.RequestConfig) {
| return request<API.SystemNoticeShowDtoPageOutput>('/api/SystemNotice/GetSystemNoticeShow', {
| method: 'POST',
| headers: {
| 'Content-Type': 'application/json',
| },
| data: body,
| ...(options || {}),
| });
| }
|
| /** 下架公告 POST /api/SystemNotice/OffShelfNotice */
| export async function offShelfNotice(body: API.BaseIdInput, options?: API.RequestConfig) {
| return request<number>('/api/SystemNotice/OffShelfNotice', {
| method: 'POST',
| headers: {
| 'Content-Type': 'application/json',
| },
| data: body,
| ...(options || {}),
| });
| }
|
| /** 上架公告 POST /api/SystemNotice/OnShelfNotice */
| export async function onShelfNotice(body: API.BaseIdInput, options?: API.RequestConfig) {
| return request<number>('/api/SystemNotice/OnShelfNotice', {
| method: 'POST',
| headers: {
| 'Content-Type': 'application/json',
| },
| data: body,
| ...(options || {}),
| });
| }
|
| /** 设置公告状态 POST /api/SystemNotice/SetNoticeStatus */
| export async function setNoticeStatus(body: API.SetNoticeStatusInput, options?: API.RequestConfig) {
| return request<number>('/api/SystemNotice/SetNoticeStatus', {
| method: 'POST',
| headers: {
| 'Content-Type': 'application/json',
| },
| data: body,
| ...(options || {}),
| });
| }
|
| /** 更新系统公告 POST /api/SystemNotice/UpdateNotice */
| export async function updateNotice(body: API.UpdateNoticeInput, options?: API.RequestConfig) {
| return request<number>('/api/SystemNotice/UpdateNotice', {
| method: 'POST',
| headers: {
| 'Content-Type': 'application/json',
| },
| data: body,
| ...(options || {}),
| });
| }
|
|