feat : pay
This commit is contained in:
@@ -114,11 +114,13 @@ class PlacePayService extends BaseService
|
|||||||
|
|
||||||
$res = [
|
$res = [
|
||||||
'orderId' => $this->orderId,
|
'orderId' => $this->orderId,
|
||||||
|
'wechat_pay' => [],
|
||||||
|
'alipay' => []
|
||||||
];
|
];
|
||||||
|
|
||||||
//返回支付数组
|
//返回支付数组
|
||||||
match ($this->payType) {
|
match ($this->payType) {
|
||||||
PayCode::WECHAT_PAY => $res['weixin'] = $payData,
|
PayCode::WECHAT_PAY => $res['wechat_pay'] = $payData,
|
||||||
PayCode::ALIPAY => throw new ErrException('暂不开放')
|
PayCode::ALIPAY => throw new ErrException('暂不开放')
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user