| | |
| | | }); |
| | | } |
| | | |
| | | /** 查看当前外部系统信息 GET /api/ExternalSystem/GetCurrentExternalSystem */ |
| | | export async function getCurrentExternalSystem(options?: API.RequestConfig) { |
| | | return request<API.GetCurrentExternalSystemOutput>( |
| | | '/api/ExternalSystem/GetCurrentExternalSystem', |
| | | { |
| | | method: 'GET', |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 获取外部系统列表 POST /api/ExternalSystem/GetExternalSystemList */ |
| | | export async function getExternalSystemList( |
| | | body: API.GetExternalSystemInput, |
| | |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 查询外部系统平安银行钱包信息 GET /api/ExternalSystem/GetExternalSystemPingAnPayWallet */ |
| | | export async function getExternalSystemPingAnPayWallet( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetExternalSystemPingAnPayWalletParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetExternalSystemPingAnPayWalletOutput>( |
| | | '/api/ExternalSystem/GetExternalSystemPingAnPayWallet', |
| | | { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 保存外部系统平安银行钱包信息 POST /api/ExternalSystem/SaveExternalSystemPingAnPayWallet */ |
| | | export async function saveExternalSystemPingAnPayWallet( |
| | | body: API.SaveExternalSystemPingAnPayWalletInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string>('/api/ExternalSystem/SaveExternalSystemPingAnPayWallet', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |