/* eslint-disable */
|
// @ts-ignore
|
import { request } from '@/utils/request';
|
|
/** 新增或修改外部系统 POST /api/ExternalSystem/CreateOrEditExternalSystem */
|
export async function createOrEditExternalSystem(
|
body: API.ExternalSystemDto,
|
options?: API.RequestConfig
|
) {
|
return request<string>('/api/ExternalSystem/CreateOrEditExternalSystem', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** 查看当前外部系统信息 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?: API.RequestConfig
|
) {
|
return request<API.ExternalSystemDtoPageOutput>('/api/ExternalSystem/GetExternalSystemList', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(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 || {}),
|
});
|
}
|