pull/5/head
zengyyh 3 months ago
parent f215ef2448
commit 8439c4b56f
  1. 2
      app/api/service/identity/Payment.php

@ -243,7 +243,7 @@ class Payment extends BaseService
private function unifiedorder(array $extra = []): array
{
// 判断支付方式是否合法
if (!in_array($this->method, [PaymentMethodEnum::WECHAT, PaymentMethodEnum::ALIPAY])) {
if (!in_array($this->method, [PaymentMethodEnum::WECHAT, PaymentMethodEnum::ALIPAY, PaymentMethodEnum::HUIFU])) {
return [];
}
// 生成第三方交易订单号 (并非主订单号)

Loading…
Cancel
Save