wupengfei
2025-02-20 c48683d52511648af2f249ee0a240613e34ce0ad
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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
/* eslint-disable */
// @ts-ignore
import { request } from '@/utils/request';
 
/** 广告价位下架 GET /api/Setting/AdvertisePriceOffShelf */
export async function advertisePriceOffShelf(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIadvertisePriceOffShelfParams,
  options?: API.RequestConfig
) {
  return request<number>('/api/Setting/AdvertisePriceOffShelf', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
 
/** 广告价位上架 GET /api/Setting/AdvertisePriceOnShelf */
export async function advertisePriceOnShelf(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIadvertisePriceOnShelfParams,
  options?: API.RequestConfig
) {
  return request<number>('/api/Setting/AdvertisePriceOnShelf', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
 
/** 新建系统配置 POST /api/Setting/CreateInsureSetting */
export async function createInsureSetting(
  body: API.CreateInsureSettingInput,
  options?: API.RequestConfig
) {
  return request<number>('/api/Setting/CreateInsureSetting', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 创建或修改平台对外联系电话 POST /api/Setting/CreateOrEditPlatformContact */
export async function createOrEditPlatformContact(
  body: API.CreateOrEditPlatformContactInput,
  options?: API.RequestConfig
) {
  return request<number>('/api/Setting/CreateOrEditPlatformContact', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 新增/编辑广告价位 POST /api/Setting/CreateOrUpdateAdvertisePrice */
export async function createOrUpdateAdvertisePrice(
  body: API.CreateOrUpdateAdvertisePriceInput,
  options?: API.RequestConfig
) {
  return request<string>('/api/Setting/CreateOrUpdateAdvertisePrice', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 添加/编辑类别 POST /api/Setting/CreateOrUpdateCategory */
export async function createOrUpdateCategory(
  body: API.CreateOrUpdateCategoryInput,
  options?: API.RequestConfig
) {
  return request<string>('/api/Setting/CreateOrUpdateCategory', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 新增/编辑资讯打赏分成 POST /api/Setting/CreateOrUpdateRewardPercentage */
export async function createOrUpdateRewardPercentage(
  body: API.CreateOrUpdateRewardPercentageInput,
  options?: API.RequestConfig
) {
  return request<string>('/api/Setting/CreateOrUpdateRewardPercentage', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 产品、资讯、自定义、快捷评论标签添加/编辑 POST /api/Setting/CreateOrUpdateTag */
export async function createOrUpdateTag(
  body: API.CreateOrUpdateTagInput,
  options?: API.RequestConfig
) {
  return request<string>('/api/Setting/CreateOrUpdateTag', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 广告价位删除 GET /api/Setting/DeleteAdvertisePrice */
export async function deleteAdvertisePrice(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIdeleteAdvertisePriceParams,
  options?: API.RequestConfig
) {
  return request<number>('/api/Setting/DeleteAdvertisePrice', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
 
/** 获取广告位单价 GET /api/Setting/GetAdvertisePrice */
export async function getAdvertisePrice(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIgetAdvertisePriceParams,
  options?: API.RequestConfig
) {
  return request<number>('/api/Setting/GetAdvertisePrice', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
 
/** 广告价位列表 POST /api/Setting/GetAdvertisePriceInfos */
export async function getAdvertisePriceInfos(
  body: API.GetAdvertisePriceInfosInput,
  options?: API.RequestConfig
) {
  return request<API.AdvertisePriceInfo[]>('/api/Setting/GetAdvertisePriceInfos', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 此处后端没有提供注释 GET /api/Setting/GetAllCategories */
export async function getAllCategories(options?: API.RequestConfig) {
  return request<API.CategoryAllDto[]>('/api/Setting/GetAllCategories', {
    method: 'GET',
    ...(options || {}),
  });
}
 
/** 根据业务类型获取相关配置 GET /api/Setting/GetBusinessSettingByType */
export async function getBusinessSettingByType(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIgetBusinessSettingByTypeParams,
  options?: API.RequestConfig
) {
  return request<any>('/api/Setting/GetBusinessSettingByType', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
 
/** 产品资讯类别列表 POST /api/Setting/GetCategories */
export async function getCategories(body: API.GetCategoriesInput, options?: API.RequestConfig) {
  return request<API.CategoryDto[]>('/api/Setting/GetCategories', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 获取类别详情 GET /api/Setting/GetCategory */
export async function getCategory(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIgetCategoryParams,
  options?: API.RequestConfig
) {
  return request<API.CategoryInfo>('/api/Setting/GetCategory', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
 
/** 根据catetoryType获取Menu  行业服务 = 0 行业配套 = 1  甲方需求 = 2 行业资讯 = 3; GET /api/Setting/GetCategoryMenu */
export async function getCategoryMenu(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIgetCategoryMenuParams,
  options?: API.RequestConfig
) {
  return request<API.CategoryMenu[]>('/api/Setting/GetCategoryMenu', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
 
/** 资讯类别目录 GET /api/Setting/GetInformationCategoryMenu */
export async function getInformationCategoryMenu(options?: API.RequestConfig) {
  return request<API.CategoryMenu[]>('/api/Setting/GetInformationCategoryMenu', {
    method: 'GET',
    ...(options || {}),
  });
}
 
/** 获取初始配置 GET /api/Setting/GetInitSettings */
export async function getInitSettings(options?: API.RequestConfig) {
  return request<API.InitSettingInfo>('/api/Setting/GetInitSettings', {
    method: 'GET',
    ...(options || {}),
  });
}
 
/** 获取价格配置列表 POST /api/Setting/GetInsureSettingPrices */
export async function getInsureSettingPrices(
  body: API.GetInsureSettingPricesInput,
  options?: API.RequestConfig
) {
  return request<API.InsureSettingPriceDto[]>('/api/Setting/GetInsureSettingPrices', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 获取配置列表 POST /api/Setting/GetInsureSettings */
export async function getInsureSettings(
  body: API.GetInsureSettingsInput,
  options?: API.RequestConfig
) {
  return request<API.InsureSettingDto[]>('/api/Setting/GetInsureSettings', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 获取配置tab POST /api/Setting/GetInsureSubSettings */
export async function getInsureSubSettings(
  body: API.GetInsureSubSettingsInput,
  options?: API.RequestConfig
) {
  return request<API.InsureSubSetting[]>('/api/Setting/GetInsureSubSettings', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 行业服务类别:园区 人资公司 订单 GET /api/Setting/GetParkOrHRCategoryMenu */
export async function getParkOrHRCategoryMenu(options?: API.RequestConfig) {
  return request<API.CategoryMenu[]>('/api/Setting/GetParkOrHRCategoryMenu', {
    method: 'GET',
    ...(options || {}),
  });
}
 
/** 根据catagory id 获取联系方式 GET /api/Setting/GetPlatformContactByCategoryId */
export async function getPlatformContactByCategoryId(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIgetPlatformContactByCategoryIdParams,
  options?: API.RequestConfig
) {
  return request<API.PlatformContactList>('/api/Setting/GetPlatformContactByCategoryId', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
 
/** 获取平台的联系方式列表 GET /api/Setting/GetPlatformContactList */
export async function getPlatformContactList(options?: API.RequestConfig) {
  return request<API.PlatformContactList[]>('/api/Setting/GetPlatformContactList', {
    method: 'GET',
    ...(options || {}),
  });
}
 
/** 行业配套类别目录 GET /api/Setting/GetProductCategoryMenu */
export async function getProductCategoryMenu(options?: API.RequestConfig) {
  return request<API.CategoryMenu[]>('/api/Setting/GetProductCategoryMenu', {
    method: 'GET',
    ...(options || {}),
  });
}
 
/** 甲方资源 GET /api/Setting/GetResourceCategoryMenu */
export async function getResourceCategoryMenu(options?: API.RequestConfig) {
  return request<API.CategoryMenu[]>('/api/Setting/GetResourceCategoryMenu', {
    method: 'GET',
    ...(options || {}),
  });
}
 
/** 资讯打赏分成列表 POST /api/Setting/GetRewardPercentages */
export async function getRewardPercentages(
  body: API.GetRewardPercentagesInput,
  options?: API.RequestConfig
) {
  return request<API.RewardPercentageInfo[]>('/api/Setting/GetRewardPercentages', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 标签目录 GET /api/Setting/GetTagMenu */
export async function getTagMenu(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIgetTagMenuParams,
  options?: API.RequestConfig
) {
  return request<API.TagMenu[]>('/api/Setting/GetTagMenu', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
 
/** 产品、资讯、快捷评论标签列表 POST /api/Setting/GetTags */
export async function getTags(body: API.GetTagsInput, options?: API.RequestConfig) {
  return request<API.TagDto[]>('/api/Setting/GetTags', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 显示/隐藏类别 POST /api/Setting/SetCategoryVis */
export async function setCategoryVis(body: API.SetCategoryVisInput, options?: API.RequestConfig) {
  return request<number>('/api/Setting/SetCategoryVis', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 配置价格设置 POST /api/Setting/SetInsureSettingPrice */
export async function setInsureSettingPrice(
  body: API.SetInsureSettingPriceInput,
  options?: API.RequestConfig
) {
  return request<number>('/api/Setting/SetInsureSettingPrice', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 显示/隐藏标签 POST /api/Setting/SetTagVis */
export async function setTagVis(body: API.SetTagVisInput, options?: API.RequestConfig) {
  return request<number>('/api/Setting/SetTagVis', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 更新系统配置 POST /api/Setting/UpdateInsureSetting */
export async function updateInsureSetting(body: API.InsureSettingDto, options?: API.RequestConfig) {
  return request<number>('/api/Setting/UpdateInsureSetting', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}