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
| /* eslint-disable */
| // @ts-ignore
| import { request } from '@/utils/request';
|
| /** 查询企业保险产品分页列表 POST /api/flexjob/enterpriseInsuranceProduct/getEnterpriseInsuranceProducts */
| export async function getEnterpriseInsuranceProducts(
| body: API.GetEnterpriseInsuranceProductsQuery,
| options?: API.RequestConfig
| ) {
| return request<API.GetEnterpriseInsuranceProductsQueryResult>(
| '/api/flexjob/enterpriseInsuranceProduct/getEnterpriseInsuranceProducts',
| {
| method: 'POST',
| headers: {
| 'Content-Type': 'application/json-patch+json',
| },
| data: body,
| ...(options || {}),
| }
| );
| }
|
| /** 设置企业投保产品状态 PUT /api/flexjob/enterpriseInsuranceProduct/setDisabledEnterpriseInsuranceProducts */
| export async function setDisabledEnterpriseInsuranceProducts(
| body: API.SetDisabledEnterpriseInsuranceProductsCommand,
| options?: API.RequestConfig
| ) {
| return request<number>(
| '/api/flexjob/enterpriseInsuranceProduct/setDisabledEnterpriseInsuranceProducts',
| {
| method: 'PUT',
| headers: {
| 'Content-Type': 'application/json-patch+json',
| },
| data: body,
| ...(options || {}),
| }
| );
| }
|
|