This commit is contained in:
2026-06-18 00:10:27 +08:00
parent fbf40a1575
commit 41099f4190
9 changed files with 328 additions and 68 deletions
+33 -3
View File
@@ -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 - 批量订单支付参数
*/