From 61e873aada7f8c55ccebb4c5fdf93ec21eb5fffe Mon Sep 17 00:00:00 2001
From: yeg <1347747024@qq.com>
Date: 星期一, 14 九月 2026 14:41:13 +0800
Subject: [PATCH] refactor(merchant): 核销收敛为一份实现,按是否涉及资金拆两个接口
---
rencaika_merchant/services/verification.uts | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/rencaika_merchant/services/verification.uts b/rencaika_merchant/services/verification.uts
index 2444da5..99b454e 100644
--- a/rencaika_merchant/services/verification.uts
+++ b/rencaika_merchant/services/verification.uts
@@ -90,13 +90,14 @@
}, onError)
}
+/** 免费入住券核销:不涉及支付,只扣券次数。订单核销走 confirmMerchantOrderVerification。 */
export const confirmVerificationCode = (
verificationId: string,
idempotencyKey: string,
onSuccess: (result: VerificationConfirmResult, traceId: string) => void,
onError: (error: HttpError) => void
): (() => void) => request<VerificationConfirmResult>({
- path: getApiEndpoint('verificationConfirm'),
+ path: getApiEndpoint('verificationFreeStayConfirm'),
method: 'POST',
idempotencyKey: idempotencyKey,
data: { verificationId: verificationId }
--
Gitblit v1.7.1