diff --git a/app/util/Xunfei.php b/app/util/Xunfei.php index 03db095..76918c9 100644 --- a/app/util/Xunfei.php +++ b/app/util/Xunfei.php @@ -119,7 +119,7 @@ digest: %s", "ntrans.xfyun.cn", $date, $digestBase64); return $data["data"]["result"]; } else { $this->error = $data["message"]; - log::error('fanyi_fail',[ $data["message"]]); + log::error('fanyi_fail',[$res]); return false; } } catch (\Throwable $th) {