/* eslint-disable */
|
// @ts-ignore
|
import { request } from '@/utils/request';
|
|
/** 查询企业合作钱包充值明细 GET /api/user/enterpriseCooperationWallet/getCooperationWalletRechargeTransaction */
|
export async function getCooperationWalletRechargeTransaction(
|
// 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
|
params: API.APIgetCooperationWalletRechargeTransactionParams,
|
options?: API.RequestConfig
|
) {
|
return request<API.GetCooperationWalletRechargeTransactionQueryResult>(
|
'/api/user/enterpriseCooperationWallet/getCooperationWalletRechargeTransaction',
|
{
|
method: 'GET',
|
params: {
|
...params,
|
},
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 查询企业合作钱包充值交易分页列表数据 POST /api/user/enterpriseCooperationWallet/getCooperationWalletRechargeTransactions */
|
export async function getCooperationWalletRechargeTransactions(
|
body: API.GetCooperationWalletRechargeTransactionsQuery,
|
options?: API.RequestConfig
|
) {
|
return request<API.GetCooperationWalletRechargeTransactionsQueryResult>(
|
'/api/user/enterpriseCooperationWallet/getCooperationWalletRechargeTransactions',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json-patch+json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 查询企业合作钱包分页列表数据 POST /api/user/enterpriseCooperationWallet/getCooperationWallets */
|
export async function getCooperationWallets(
|
body: API.GetCooperationWalletsQuery,
|
options?: API.RequestConfig
|
) {
|
return request<API.GetCooperationWalletsQueryResult>(
|
'/api/user/enterpriseCooperationWallet/getCooperationWallets',
|
{
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json-patch+json',
|
},
|
data: body,
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 查询企业收款账户 GET /api/user/enterpriseCooperationWallet/getEnterpriseReceiveAccount */
|
export async function getEnterpriseReceiveAccount(
|
// 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
|
params: API.APIgetEnterpriseReceiveAccountParams,
|
options?: API.RequestConfig
|
) {
|
return request<API.GetEnterpriseReceiveAccountQueryResult>(
|
'/api/user/enterpriseCooperationWallet/getEnterpriseReceiveAccount',
|
{
|
method: 'GET',
|
params: {
|
...params,
|
request: undefined,
|
...params['request'],
|
},
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 充值企业合作钱包 POST /api/user/enterpriseCooperationWallet/rechargeCooperationWallet */
|
export async function rechargeCooperationWallet(
|
body: API.RechargeCooperationWalletCommand,
|
options?: API.RequestConfig
|
) {
|
return request<string>('/api/user/enterpriseCooperationWallet/rechargeCooperationWallet', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json-patch+json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** 保存企业收款账户 POST /api/user/enterpriseCooperationWallet/saveEnterpriseReceiveAccount */
|
export async function saveEnterpriseReceiveAccount(
|
body: API.SaveEnterpriseReceiveAccountCommand,
|
options?: API.RequestConfig
|
) {
|
return request<string>('/api/user/enterpriseCooperationWallet/saveEnterpriseReceiveAccount', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json-patch+json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|
|
/** 确认充值企业合作钱包 POST /api/user/enterpriseCooperationWallet/sureRechargeCooperationWallet */
|
export async function sureRechargeCooperationWallet(
|
body: API.SureRechargeCooperationWalletCommand,
|
options?: API.RequestConfig
|
) {
|
return request<string>('/api/user/enterpriseCooperationWallet/sureRechargeCooperationWallet', {
|
method: 'POST',
|
headers: {
|
'Content-Type': 'application/json-patch+json',
|
},
|
data: body,
|
...(options || {}),
|
});
|
}
|