feat : pay

This commit is contained in:
2025-02-17 16:51:11 +08:00
parent 8e6c6f9cb1
commit ba2bb6874e

View File

@@ -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('暂不开放')
}; };