From 0ea86945475f23231fb22e1f8f4f7edd6bd499d9 Mon Sep 17 00:00:00 2001 From: liu <1873441552@qq.com> Date: Tue, 4 Jun 2024 18:37:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/logic/PaymentLogic.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/common/logic/PaymentLogic.php b/app/common/logic/PaymentLogic.php index 6ae8af3c0..f36662449 100644 --- a/app/common/logic/PaymentLogic.php +++ b/app/common/logic/PaymentLogic.php @@ -52,7 +52,7 @@ class PaymentLogic extends BaseLogic 'currency' => 'CNY', ], "payer" => [ - "openid" => $auth['openid'] ?? 'onoIP7c1qgjfIr2ce7GJAAmVGcL0' + "openid" => $auth['openid'] ], 'attach' => $from ]; @@ -60,7 +60,7 @@ class PaymentLogic extends BaseLogic // 尝试执行可能会抛出异常的代码 $result = $wechat->wechat->mini($order)->toArray(); - + \support\Log::info(json_encode($result)); break; default: