This commit is contained in:
liu 2024-06-04 18:37:37 +08:00
parent 19cf43e8b6
commit 0ea8694547

View File

@ -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: