This commit is contained in:
2025-05-28 18:11:54 +08:00
parent 75bb47bc4e
commit 4902e74e9f
+2
View File
@@ -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;
}
}