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: