mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 14:01:07 +00:00
支付宝问题处理
This commit is contained in:
parent
5995482385
commit
7286d15209
@ -106,7 +106,7 @@ class OrderPayServices
|
||||
*/
|
||||
public function beforePay(array $orderInfo, string $payType, array $options = [])
|
||||
{
|
||||
$wehcat = $payType == PayServices::WEIXIN_PAY;
|
||||
$wechat = $payType == PayServices::WEIXIN_PAY;
|
||||
|
||||
$payType = $this->getPayType($payType);
|
||||
|
||||
@ -136,8 +136,8 @@ class OrderPayServices
|
||||
$options['openid'] = $openid;
|
||||
break;
|
||||
case PayServices::ALLIN_PAY:
|
||||
if ($wehcat) {
|
||||
$options['wechat'] = $wehcat;
|
||||
if ($wechat) {
|
||||
$options['wechat'] = $wechat;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
@ -50,7 +50,7 @@ class AliPay extends BasePay implements PayInterface
|
||||
$code = true;
|
||||
}
|
||||
|
||||
return AliPayService::instance()->create($body, $orderId, $totalFee, $attach, $options['uitUrl'] ?? '', $options['siteUrl'] ?? '', $code);
|
||||
return AliPayService::instance()->create($body, $orderId, $totalFee, $attach, $options['quitUrl'] ?? '', $options['siteUrl'] ?? '', $code);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -293,7 +293,7 @@
|
||||
// #endif
|
||||
}).then(res => {
|
||||
let status = res.data.status,
|
||||
orderId = res.data.result.orderId,
|
||||
orderId = res.data.result.order_id,
|
||||
jsConfig = res.data.result.jsConfig,
|
||||
goPages = '/pages/goods/order_pay_status/index?order_id=' + this.orderId + '&msg=' +
|
||||
res
|
||||
@ -336,7 +336,7 @@
|
||||
}
|
||||
})
|
||||
this.jumpData = {
|
||||
orderId: res.data.result.orderId,
|
||||
orderId: res.data.result.order_id,
|
||||
msg: res.msg,
|
||||
}
|
||||
// #endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user