whitefang 1 年之前
父節點
當前提交
42d2bb8a3f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/api/controller/PayController.php

+ 1 - 1
app/api/controller/PayController.php

@@ -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);
         }