| | |
| | | ); |
| | | } |
| | | |
| | | /** 查询企业保险配置 GET /api/user/enterprise/getEnterpriseInsuranceSetting */ |
| | | export async function getEnterpriseInsuranceSetting( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetEnterpriseInsuranceSettingParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetEnterpriseInsuranceSettingQueryResult>( |
| | | '/api/user/enterprise/getEnterpriseInsuranceSetting', |
| | | { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 查询企业信息分页列表数据 POST /api/user/enterprise/getEnterprises */ |
| | | export async function getEnterprises(body: API.GetEnterprisesQuery, options?: API.RequestConfig) { |
| | | return request<API.PagedListQueryResultGetEnterprisesQueryResultItem>( |
| | |
| | | }); |
| | | } |
| | | |
| | | /** 设置企业保险配置 PUT /api/user/enterprise/setEnterpriseInsuranceSetting */ |
| | | export async function setEnterpriseInsuranceSetting( |
| | | body: API.SetEnterpriseInsuranceSettingCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string>('/api/user/enterprise/setEnterpriseInsuranceSetting', { |
| | | method: 'PUT', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 设置企业短信配置 PUT /api/user/enterprise/setEnterpriseSmsSetting */ |
| | | export async function setEnterpriseSmsSetting( |
| | | body: API.SetEnterpriseSmsSettingCommand, |