From 4902e74e9f314be5e59b3b7dda6a03cb8693a509 Mon Sep 17 00:00:00 2001 From: "HESU\\HESU" <1696136552@qq.com> Date: Wed, 28 May 2025 18:11:54 +0800 Subject: [PATCH] 1 --- app/util/Xunfei.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/util/Xunfei.php b/app/util/Xunfei.php index 39a66da..03db095 100644 --- a/app/util/Xunfei.php +++ b/app/util/Xunfei.php @@ -119,10 +119,12 @@ digest: %s", "ntrans.xfyun.cn", $date, $digestBase64); return $data["data"]["result"]; } else { $this->error = $data["message"]; + log::error('fanyi_fail',[ $data["message"]]); return false; } } catch (\Throwable $th) { $this->error = $th->getMessage(); + log::error('fanyi_error',[$th->getMessage()]); return false; } }