| | |
| | | }); |
| | | } |
| | | |
| | | /** 企业用户签约 POST /api/user/enterpriseEmployee/enterpriseUserElectronSign */ |
| | | export async function enterpriseUserElectronSign( |
| | | body: API.EnterpriseUserElectronSignCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.EnterpriseUserElectronSignCommandResult>( |
| | | '/api/user/enterpriseEmployee/enterpriseUserElectronSign', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 查询灵工详情 GET /api/user/enterpriseEmployee/getEnterpriseEmployee */ |
| | | export async function getEnterpriseEmployee( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 个人用户签约 POST /api/user/enterpriseEmployee/personalUserElectronSign */ |
| | | export async function personalUserElectronSign( |
| | | body: API.PersonalUserElectronSignCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.PersonalUserElectronSignCommandResult>( |
| | | '/api/user/enterpriseEmployee/personalUserElectronSign', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 灵工解约 POST /api/user/enterpriseEmployee/stopElectronSign */ |
| | | export async function stopElectronSign( |
| | | body: API.StopElectronSignCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string>('/api/user/enterpriseEmployee/stopElectronSign', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |