From 767b3603242bc819176d5769e5e503cfa23d4067 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E6=98=8A=E5=A4=A9?= <442384644@qq.com> Date: Tue, 21 Feb 2023 16:14:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E4=BF=A1h5=E6=94=AF=E4=BB=98=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crmeb/app/services/pay/OrderPayServices.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/crmeb/app/services/pay/OrderPayServices.php b/crmeb/app/services/pay/OrderPayServices.php index d3fe3456b..35e61906d 100644 --- a/crmeb/app/services/pay/OrderPayServices.php +++ b/crmeb/app/services/pay/OrderPayServices.php @@ -193,6 +193,11 @@ class OrderPayServices if (request()->isWechat()) { $jsConfig['pay_url'] = AllinPay::UNITODER_H5UNIONPAY; } + break; + case PayServices::WEIXIN_PAY: + if (isset($jsConfig['mweb_url'])) { + $jsConfig['h5_url'] = $jsConfig['mweb_url']; + } } return ['jsConfig' => $jsConfig, 'order_id' => $order['order_id'], 'pay_key' => $payKey];