diff --git a/app/Service/Api/Pay/PlacePayService.php b/app/Service/Api/Pay/PlacePayService.php index de99d50..6a4aad3 100644 --- a/app/Service/Api/Pay/PlacePayService.php +++ b/app/Service/Api/Pay/PlacePayService.php @@ -114,11 +114,13 @@ class PlacePayService extends BaseService $res = [ 'orderId' => $this->orderId, + 'wechat_pay' => [], + 'alipay' => [] ]; //返回支付数组 match ($this->payType) { - PayCode::WECHAT_PAY => $res['weixin'] = $payData, + PayCode::WECHAT_PAY => $res['wechat_pay'] = $payData, PayCode::ALIPAY => throw new ErrException('暂不开放') };