mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
修改支付
This commit is contained in:
parent
294c8b82a6
commit
f00f9f629e
@ -53,8 +53,8 @@ class WechatPaymentService extends PaymentService
|
|||||||
if ($info['return_code'] === 'SUCCESS' && $info['result_code'] === 'SUCCESS') {
|
if ($info['return_code'] === 'SUCCESS' && $info['result_code'] === 'SUCCESS') {
|
||||||
// 创建支付记录
|
// 创建支付记录
|
||||||
$this->createPaymentAction($orderNo, $payTitle, $payAmount);
|
$this->createPaymentAction($orderNo, $payTitle, $payAmount);
|
||||||
// 微信二维码支付
|
// 微信二维码及网页支付
|
||||||
if ($this->type === static::PAYMENT_WECHAT_QRC) {
|
if (in_array($this->type, [static::PAYMENT_WECHAT_WAP, static::PAYMENT_WECHAT_QRC])) {
|
||||||
return $info;
|
return $info;
|
||||||
}
|
}
|
||||||
// 返回JSAPI参数
|
// 返回JSAPI参数
|
||||||
|
Loading…
x
Reference in New Issue
Block a user