|
@@ -48,7 +48,8 @@ class PayController extends BaseShopController
|
|
|
$params = (new PayValidate())->post()->goCheck();
|
|
$params = (new PayValidate())->post()->goCheck();
|
|
|
//订单信息
|
|
//订单信息
|
|
|
$order = PaymentLogic::getPayOrderInfo($params,$this->userInfo['terminal']);
|
|
$order = PaymentLogic::getPayOrderInfo($params,$this->userInfo['terminal']);
|
|
|
- return $this->success('', $order);
|
|
|
|
|
|
|
+ outFileLog($order,'prepay','order');
|
|
|
|
|
+
|
|
|
if (false === $order) {
|
|
if (false === $order) {
|
|
|
return $this->fail(PaymentLogic::getError(), $params);
|
|
return $this->fail(PaymentLogic::getError(), $params);
|
|
|
}
|
|
}
|