提交重新支付的微信支付
This commit is contained in:
parent
cc026b188e
commit
cbf00c9d01
@ -130,6 +130,13 @@ class RetailOrderController extends BaseApiController
|
||||
}else{
|
||||
return $this->fail(RetailOrderLogic::getError());
|
||||
}
|
||||
}elseif($pay_type==PayEnum::WECHAT_PAY){
|
||||
$redirectUrl = $params['redirect'] ?? '/pages/payment/payment';
|
||||
$result = PaymentLogic::pay($pay_type,'cashierclass', $order, $this->userInfo['terminal'], $redirectUrl);
|
||||
if (false === $result) {
|
||||
return $this->fail(PaymentLogic::getError());
|
||||
}
|
||||
return $this->success('', $result);
|
||||
}
|
||||
return $this->fail('支付失败');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user