/* 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 || {}),
|
}
|
);
|
}
|
|
/** 查询企业保险产品选择器数据 GET /api/flexjob/enterpriseInsuranceProduct/getEnterpriseInsuranceProductSelect */
|
export async function getEnterpriseInsuranceProductSelect(
|
// 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
|
params: API.APIgetEnterpriseInsuranceProductSelectParams,
|
options?: API.RequestConfig
|
) {
|
return request<API.SelectOptionGuidGetEnterpriseInsuranceProductSelectQueryOption[]>(
|
'/api/flexjob/enterpriseInsuranceProduct/getEnterpriseInsuranceProductSelect',
|
{
|
method: 'GET',
|
params: {
|
...params,
|
},
|
...(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 || {}),
|
}
|
);
|
}
|