wupengfei
2025-04-07 c8fe05eb089226a8f1f36e403f25f99f99831954
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
/* eslint-disable */
// @ts-ignore
import { request } from '@/utils/request';
 
/** 新增奖励申请跟踪 POST /api/ParkReward/AddParkRewardApplyFollow */
export async function addParkRewardApplyFollow(
  body: API.CreateParkRewardApplyFollowInput,
  options?: API.RequestConfig
) {
  return request<number>('/api/ParkReward/AddParkRewardApplyFollow', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 新增或修改政策福利 POST /api/ParkReward/CreateOrEditParkReward */
export async function createOrEditParkReward(
  body: API.CreateOrEditParkRewardInput,
  options?: API.RequestConfig
) {
  return request<number>('/api/ParkReward/CreateOrEditParkReward', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 新增或修改奖励申请 POST /api/ParkReward/CreateOrEditParkRewardApply */
export async function createOrEditParkRewardApply(
  body: API.CreateOrEditParkRewardApplyInput,
  options?: API.RequestConfig
) {
  return request<number>('/api/ParkReward/CreateOrEditParkRewardApply', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 删除奖励申请 GET /api/ParkReward/DeleteParkRewardApply */
export async function deleteParkRewardApply(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIdeleteParkRewardApplyParams,
  options?: API.RequestConfig
) {
  return request<number>('/api/ParkReward/DeleteParkRewardApply', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
 
/** 获取最新奖励申请信息 GET /api/ParkReward/GetNewestParkRewardApplyInfo */
export async function getNewestParkRewardApplyInfo(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIgetNewestParkRewardApplyInfoParams,
  options?: API.RequestConfig
) {
  return request<API.ParkRewardApplyFollowDto>('/api/ParkReward/GetNewestParkRewardApplyInfo', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
 
/** 获取奖励申请跟踪列表 POST /api/ParkReward/GetParkRewardApplyFollowList */
export async function getParkRewardApplyFollowList(
  body: API.GetParkRewardApplyFollowInput,
  options?: API.RequestConfig
) {
  return request<API.ParkRewardApplyFollowDtoPageOutput>(
    '/api/ParkReward/GetParkRewardApplyFollowList',
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      data: body,
      ...(options || {}),
    }
  );
}
 
/** 获取奖励申请详情 GET /api/ParkReward/GetParkRewardApplyInfoById */
export async function getParkRewardApplyInfoById(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIgetParkRewardApplyInfoByIdParams,
  options?: API.RequestConfig
) {
  return request<API.ParkRewardApplyInfoDto>('/api/ParkReward/GetParkRewardApplyInfoById', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
 
/** 获取奖励申请列表 POST /api/ParkReward/GetParkRewardApplyList */
export async function getParkRewardApplyList(
  body: API.GetParkRewardApplyInput,
  options?: API.RequestConfig
) {
  return request<API.ParkRewardApplyDtoPageOutput>('/api/ParkReward/GetParkRewardApplyList', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 获取政策福利明细详情 GET /api/ParkReward/GetParkRewardDetail */
export async function getParkRewardDetail(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIgetParkRewardDetailParams,
  options?: API.RequestConfig
) {
  return request<API.ParkRewardOutPut>('/api/ParkReward/GetParkRewardDetail', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
 
/** 获取政策福利明细 POST /api/ParkReward/GetParkRewardList */
export async function getParkRewardList(body: API.GetParkRewardInput, options?: API.RequestConfig) {
  return request<API.ParkRewardOutPutPageOutput>('/api/ParkReward/GetParkRewardList', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 前端获取政策福利列表 GET /api/ParkReward/GetParkRewardListForWeb */
export async function getParkRewardListForWeb(options?: API.RequestConfig) {
  return request<API.ParkRewardOutPut[]>('/api/ParkReward/GetParkRewardListForWeb', {
    method: 'GET',
    ...(options || {}),
  });
}
 
/** 设置政策福利状态 POST /api/ParkReward/SetParkRewardStatus */
export async function setParkRewardStatus(
  body: API.SetParkRewardStatusInput,
  options?: API.RequestConfig
) {
  return request<number>('/api/ParkReward/SetParkRewardStatus', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}