From 74229f3675f7056f4f4fbe0c6e2ad8105e4d5d1d Mon Sep 17 00:00:00 2001 From: xuxueyang <xuxy@fengyuntec.com> Date: 星期五, 23 八月 2024 09:13:40 +0800 Subject: [PATCH] update 显示 --- 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