diff --git a/app/util/Xunfei.php b/app/util/Xunfei.php index 51c5b78..2ccde3d 100644 --- a/app/util/Xunfei.php +++ b/app/util/Xunfei.php @@ -115,6 +115,7 @@ digest: %s", "ntrans.xfyun.cn", $date, $digestBase64); { try { $res = $this->xfyun($text, $from, $to); + log::error('fanyi_res',[$res]); $data = json_decode($res["body"], true); if ($data["code"] === 0) { return $data["data"]["result"];