|  |  |  | 
|---|
|  |  |  | // @ts-ignore | 
|---|
|  |  |  | import { request } from '@/utils/request'; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** 查询企业详情 GET /api/user/enterprise/getEnterprise */ | 
|---|
|  |  |  | export async function getEnterprise( | 
|---|
|  |  |  | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) | 
|---|
|  |  |  | params: API.APIgetEnterpriseParams, | 
|---|
|  |  |  | options?: API.RequestConfig | 
|---|
|  |  |  | ) { | 
|---|
|  |  |  | return request<API.GetEnterpriseQueryResult>('/api/user/enterprise/getEnterprise', { | 
|---|
|  |  |  | method: 'GET', | 
|---|
|  |  |  | params: { | 
|---|
|  |  |  | ...params, | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | ...(options || {}), | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** 查询企业电子签配置 GET /api/user/enterprise/getEnterpriseElectronSignSetting */ | 
|---|
|  |  |  | export async function getEnterpriseElectronSignSetting( | 
|---|
|  |  |  | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) | 
|---|
|  |  |  | params: API.APIgetEnterpriseElectronSignSettingParams, | 
|---|
|  |  |  | options?: API.RequestConfig | 
|---|
|  |  |  | ) { | 
|---|
|  |  |  | return request<API.GetEnterpriseElectronSignSettingQueryResult>( | 
|---|
|  |  |  | '/api/user/enterprise/getEnterpriseElectronSignSetting', | 
|---|
|  |  |  | { | 
|---|
|  |  |  | method: 'GET', | 
|---|
|  |  |  | params: { | 
|---|
|  |  |  | ...params, | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | ...(options || {}), | 
|---|
|  |  |  | } | 
|---|
|  |  |  | ); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** 查询企业信息分页列表数据 POST /api/user/enterprise/getEnterprises */ | 
|---|
|  |  |  | export async function getEnterprises(body: API.GetEnterprisesQuery, options?: API.RequestConfig) { | 
|---|
|  |  |  | return request<API.PagedListQueryResultGetEnterprisesQueryResultItem>( | 
|---|
|  |  |  | 
|---|
|  |  |  | ); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** 查询企业短信配置 GET /api/user/enterprise/getEnterpriseSmsSetting */ | 
|---|
|  |  |  | export async function getEnterpriseSmsSetting( | 
|---|
|  |  |  | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) | 
|---|
|  |  |  | params: API.APIgetEnterpriseSmsSettingParams, | 
|---|
|  |  |  | options?: API.RequestConfig | 
|---|
|  |  |  | ) { | 
|---|
|  |  |  | return request<API.GetEnterpriseSmsSettingQueryResult>( | 
|---|
|  |  |  | '/api/user/enterprise/getEnterpriseSmsSetting', | 
|---|
|  |  |  | { | 
|---|
|  |  |  | method: 'GET', | 
|---|
|  |  |  | params: { | 
|---|
|  |  |  | ...params, | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | ...(options || {}), | 
|---|
|  |  |  | } | 
|---|
|  |  |  | ); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** 保存企业 POST /api/user/enterprise/saveEnterprise */ | 
|---|
|  |  |  | export async function saveEnterprise(body: API.SaveEnterpriseCommand, options?: API.RequestConfig) { | 
|---|
|  |  |  | return request<string>('/api/user/enterprise/saveEnterprise', { | 
|---|
|  |  |  | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** 保存企业费用 POST /api/user/enterprise/saveEnterpriseCost */ | 
|---|
|  |  |  | export async function saveEnterpriseCost( | 
|---|
|  |  |  | body: API.SaveEnterpriseCostCommand, | 
|---|
|  |  |  | options?: API.RequestConfig | 
|---|
|  |  |  | ) { | 
|---|
|  |  |  | return request<string>('/api/user/enterprise/saveEnterpriseCost', { | 
|---|
|  |  |  | method: 'POST', | 
|---|
|  |  |  | headers: { | 
|---|
|  |  |  | 'Content-Type': 'application/json-patch+json', | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | data: body, | 
|---|
|  |  |  | ...(options || {}), | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** 设置企业电子签配置 PUT /api/user/enterprise/setEnterpriseElectronSignSetting */ | 
|---|
|  |  |  | export async function setEnterpriseElectronSignSetting( | 
|---|
|  |  |  | body: API.SetEnterpriseElectronSignSettingCommand, | 
|---|