|
|
@@ -60,7 +60,7 @@ class PayController extends BaseApiController
|
|
|
}
|
|
|
//支付流程
|
|
|
$redirectUrl = $params['redirect'] ?? '/pages/payment/payment';
|
|
|
- $result = PaymentLogic::pay($params['pay_way'], $params['from'], $order, $this->userInfo, $redirectUrl);
|
|
|
+ $result = PaymentLogic::pay($params['pay_way'], $params['from'], $order, $this->userInfo['terminal'], $redirectUrl);
|
|
|
if (false === $result) {
|
|
|
return $this->fail(PaymentLogic::getError(), $params);
|
|
|
}
|