Merge branch 'feature/stock_next' into develop

This commit is contained in:
2025-09-09 17:24:23 +08:00
+4
View File
@@ -3,6 +3,8 @@
namespace app\queue\utils; namespace app\queue\utils;
use support\Log;
class XunfeiFanyi class XunfeiFanyi
{ {
@@ -117,10 +119,12 @@ digest: %s", "ntrans.xfyun.cn", $date, $digestBase64);
return $data["data"]["result"]; return $data["data"]["result"];
} else { } else {
$this->error = $data["message"]; $this->error = $data["message"];
Log::error("XunfeiFanyi 失败: ".$data["message"],[$data]);
return false; return false;
} }
} catch (\Throwable $th) { } catch (\Throwable $th) {
$this->error = $th->getMessage(); $this->error = $th->getMessage();
Log::error("XunfeiFanyi 错误: ".$th->getMessage());
return false; return false;
} }
} }