mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-30 14:31:04 +00:00
微信h5支付修复
This commit is contained in:
parent
dc00ec63f5
commit
767b360324
@ -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];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user