/* eslint-disable */
|
// @ts-ignore
|
import { request } from '@/utils/request';
|
|
/** 获取平台服务支付二维码 POST /api/PlatformServicePay/GetPlaformServicePayQRCode */
|
export async function getPlaformServicePayQRCode(
|
body: API.GetPlaformServicePayQRCodeInput,
|
options?: API.RequestConfig
|
) {
|
return request<string>('/api/PlatformServicePay/GetPlaformServicePayQRCode', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** 获取平台服务详情 POST /api/PlatformServicePay/GetPlatformServicePayDetail */
|
export async function getPlatformServicePayDetail(
|
body: API.QueryPlatformServicePayDetailInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.PlatformServicePayDetailDto>(
|
'/api/PlatformServicePay/GetPlatformServicePayDetail',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 获取平台服务开票详情 POST /api/PlatformServicePay/GetPlatformServicePayInvoicingDetail */
|
export async function getPlatformServicePayInvoicingDetail(
|
body: API.QueryPlatformServiceInvoicingDetailInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.PlatformServicePayInvoicingDetailDto>(
|
'/api/PlatformServicePay/GetPlatformServicePayInvoicingDetail',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 获取平台服务开票分页列表 POST /api/PlatformServicePay/GetPlatformServicePayInvoicingPage */
|
export async function getPlatformServicePayInvoicingPage(
|
body: API.QueryPlatformServiceInvoicingListInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.PlatformServicePayInvoicingListDtoPageOutput>(
|
'/api/PlatformServicePay/GetPlatformServicePayInvoicingPage',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 获取平台服务分页列表 POST /api/PlatformServicePay/GetPlatformServicePayPage */
|
export async function getPlatformServicePayPage(
|
body: API.QueryPlatformServicePayListInput,
|
options?: API.RequestConfig
|
) {
|
return request<API.PlatformServicePayListDtoPageOutput>(
|
'/api/PlatformServicePay/GetPlatformServicePayPage',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 获取平台服务支付状态 GET /api/PlatformServicePay/GetPlatformServicePayStatus */
|
export async function getPlatformServicePayStatus(
|
// 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
|
params: API.APIgetPlatformServicePayStatusParams,
|
options?: API.RequestConfig
|
) {
|
return request<API.PayStatusEnum>('/api/PlatformServicePay/GetPlatformServicePayStatus', {
|
method: 'GET',
|
params: {
|
...params,
|
},
|
...(options || {}),
|
});
|
}
|
|
/** 设置平台服务入账状态 POST /api/PlatformServicePay/SetPlatformServicePayCreditedStatus */
|
export async function setPlatformServicePayCreditedStatus(
|
body: API.UpdatePlatformServicePayCreditedStatusInput,
|
options?: API.RequestConfig
|
) {
|
return request<number>('/api/PlatformServicePay/SetPlatformServicePayCreditedStatus', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** 设置平台服务开票状态 POST /api/PlatformServicePay/SetPlatformServicePayInvoicingStatus */
|
export async function setPlatformServicePayInvoicingStatus(
|
body: API.UpdatePlatformServicePayInvoicingStatusInput,
|
options?: API.RequestConfig
|
) {
|
return request<number>('/api/PlatformServicePay/SetPlatformServicePayInvoicingStatus', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** 此处后端没有提供注释 GET /api/PlatformServicePay/TestGetPlatformServicePay */
|
export async function testGetPlatformServicePay(
|
// 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
|
params: API.APItestGetPlatformServicePayParams,
|
options?: API.RequestConfig
|
) {
|
return request<API.PlatformServicePayDetailDto>(
|
'/api/PlatformServicePay/TestGetPlatformServicePay',
|
{
|
method: 'GET',
|
params: {
|
...params,
|
},
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 此处后端没有提供注释 GET /api/PlatformServicePay/TestPayNotify */
|
export async function testPayNotify(
|
// 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
|
params: API.APItestPayNotifyParams,
|
options?: API.RequestConfig
|
) {
|
return request<any>('/api/PlatformServicePay/TestPayNotify', {
|
method: 'GET',
|
params: {
|
...params,
|
},
|
...(options || {}),
|
});
|
}
|