This commit is contained in:
2025-05-28 16:18:28 +08:00
parent f0a7f448ad
commit c8ed661116
2 changed files with 1 additions and 1 deletions
+1
View File
@@ -26,6 +26,7 @@ class TranslatorService
}
}
}
log::info('fanyi',$vehicle);
return $vehicle;
}
-1
View File
@@ -115,7 +115,6 @@ digest: %s", "ntrans.xfyun.cn", $date, $digestBase64);
try {
$res = $this->xfyun($text, $from, $to);
$data = json_decode($res["body"], true);
log::info('fanyi',$data);
if ($data["code"] === 0) {
return $data["data"]["result"];
} else {