From ed5d47ad987f2a20f33fbd5cc64dbcdb208f5e15 Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期一, 26 八月 2024 11:31:53 +0800
Subject: [PATCH] add 意见反馈

---
 sub_pages/customer/shopping/confirm.vue |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/sub_pages/customer/shopping/confirm.vue b/sub_pages/customer/shopping/confirm.vue
index 7d2bc7d..c9fda51 100644
--- a/sub_pages/customer/shopping/confirm.vue
+++ b/sub_pages/customer/shopping/confirm.vue
@@ -179,14 +179,16 @@
 								console.log('pay,', data)
 								// /api/pub/init/callback?orderId=
 								// if(env.pro)
-								if (data && data['_testOrderId'] && environments.httpBaseUri.startsWith(
+								if (data && (data['_testV2OrderId'] || data['_testOrderId']) &&
+									environments.httpBaseUri.startsWith(
 										'http://47.99.58.211/flower')) {
 									//回调
 									tmp.$message.showLoading()
 									const res2 = await tmp.$http.request('get',
 										'/api/pub/init/callback', {
 											params: {
-												orderId: data['_testOrderId']
+												orderId: data['_testV2OrderId'] || data[
+													'_testOrderId'] || ''
 											}
 										})
 									tmp.$message.hideLoading()

--
Gitblit v1.9.3