From c1e26665bf7c27b9639874c1214d1fadc96db58e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Wed, 9 Nov 2022 17:15:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/data/service/payment/AlipayPaymentService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/data/service/payment/AlipayPaymentService.php b/app/data/service/payment/AlipayPaymentService.php index a9bd5a438..aae5c32cc 100644 --- a/app/data/service/payment/AlipayPaymentService.php +++ b/app/data/service/payment/AlipayPaymentService.php @@ -52,7 +52,7 @@ class AlipayPaymentService extends PaymentService $this->config['return_url'] = $payReturn; } } - if ($tradeType === static::PAYMENT_WECHAT_APP) { + if ($tradeType === static::PAYMENT_ALIAPY_APP) { $payment = App::instance($this->config); } elseif ($tradeType === static::PAYMENT_ALIPAY_WAP) { $payment = Wap::instance($this->config);