增加输出日志

This commit is contained in:
2024-04-02 10:24:41 +08:00
parent f8299b36aa
commit c5df43ce48
5 changed files with 19 additions and 15 deletions

View File

@@ -157,9 +157,10 @@ class Account extends InitConfig
->setReceiverAccountName($data['receiverAccountName'])
->setBankAccountType($data['bankAccountType'] ?? 'DEBIT_CARD')
->setNotifyUrl($data['notifyUrl']);
$response = $this->client->payOrder($request);
$result = $response->getResult();
Log::channel('yeepay')->info('PayOrder', $result);
Log::channel('yeepay')->info($result);
if ($result['returnCode'] == 'UA00000') {
return $this->success($result);
} else {