|
|
|
@ -196,20 +196,20 @@ class Payment extends BaseModel |
|
|
|
|
PaymentMethodEnum::WECHAT, |
|
|
|
|
PaymentMethodEnum::BALANCE, |
|
|
|
|
]), |
|
|
|
|
ClientEnum::H5 => $this->defaultGroup(ClientEnum::H5, [ |
|
|
|
|
PaymentMethodEnum::WECHAT, |
|
|
|
|
PaymentMethodEnum::ALIPAY, |
|
|
|
|
PaymentMethodEnum::BALANCE, |
|
|
|
|
]), |
|
|
|
|
ClientEnum::WXOFFICIAL => $this->defaultGroup(ClientEnum::WXOFFICIAL, [ |
|
|
|
|
PaymentMethodEnum::WECHAT, |
|
|
|
|
PaymentMethodEnum::BALANCE, |
|
|
|
|
]), |
|
|
|
|
ClientEnum::APP => $this->defaultGroup(ClientEnum::APP, [ |
|
|
|
|
PaymentMethodEnum::WECHAT, |
|
|
|
|
PaymentMethodEnum::ALIPAY, |
|
|
|
|
PaymentMethodEnum::BALANCE, |
|
|
|
|
]), |
|
|
|
|
// ClientEnum::H5 => $this->defaultGroup(ClientEnum::H5, [ |
|
|
|
|
// PaymentMethodEnum::WECHAT, |
|
|
|
|
// PaymentMethodEnum::ALIPAY, |
|
|
|
|
// PaymentMethodEnum::BALANCE, |
|
|
|
|
// ]), |
|
|
|
|
// ClientEnum::WXOFFICIAL => $this->defaultGroup(ClientEnum::WXOFFICIAL, [ |
|
|
|
|
// PaymentMethodEnum::WECHAT, |
|
|
|
|
// PaymentMethodEnum::BALANCE, |
|
|
|
|
// ]), |
|
|
|
|
// ClientEnum::APP => $this->defaultGroup(ClientEnum::APP, [ |
|
|
|
|
// PaymentMethodEnum::WECHAT, |
|
|
|
|
// PaymentMethodEnum::ALIPAY, |
|
|
|
|
// PaymentMethodEnum::BALANCE, |
|
|
|
|
// ]), |
|
|
|
|
]; |
|
|
|
|
if (\config('plugin.mpAlipay.enable', false)) { |
|
|
|
|
$data[ClientEnum::MP_ALIPAY] = $this->defaultGroup(ClientEnum::MP_ALIPAY, [ |
|
|
|
|