修改
This commit is contained in:
@@ -500,13 +500,19 @@ export async function appMerchantOrderPayOrderBatchPost({
|
||||
});
|
||||
}
|
||||
|
||||
/** 提交 Zip 支付凭证 POST /app/merchantOrder/zipPayVoucher */
|
||||
/** 提交 Zip 支付凭证 POST /app/merchantOrder/zipPayVoucher(单订单兼容) */
|
||||
export interface ZipPayVoucherBo {
|
||||
orderId: string | number
|
||||
zipPayVoucher: string
|
||||
paymentAmount?: number
|
||||
}
|
||||
|
||||
export async function appMerchantOrderZipPayVoucherPost({
|
||||
body,
|
||||
options,
|
||||
}: {
|
||||
body: { orderId: number; zipPayVoucher: string };
|
||||
options?: CustomRequestOptions;
|
||||
body: ZipPayVoucherBo
|
||||
options?: CustomRequestOptions
|
||||
}) {
|
||||
return request<API.R>('/app/merchantOrder/zipPayVoucher', {
|
||||
method: 'POST',
|
||||
@@ -518,6 +524,30 @@ export async function appMerchantOrderZipPayVoucherPost({
|
||||
});
|
||||
}
|
||||
|
||||
/** 批量提交 Zip 支付凭证 POST /app/merchantOrder/zipPayVoucherBatch */
|
||||
export interface ZipPayVoucherBatchBo {
|
||||
orderIds: Array<string | number>
|
||||
zipPayVoucher: string
|
||||
paymentAmount: number
|
||||
}
|
||||
|
||||
export async function appMerchantOrderZipPayVoucherBatchPost({
|
||||
body,
|
||||
options,
|
||||
}: {
|
||||
body: ZipPayVoucherBatchBo
|
||||
options?: CustomRequestOptions
|
||||
}) {
|
||||
return request<API.R>('/app/merchantOrder/zipPayVoucherBatch', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
data: body,
|
||||
...(options || {}),
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* PayOrderBatchBo - 批量订单支付参数
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user