This commit is contained in:
2025-06-25 11:17:57 +08:00
parent ce55353d30
commit 7b517cdc48
3 changed files with 5 additions and 3 deletions
+2
View File
@@ -23,6 +23,8 @@ class TranslatorService
$rst_dst = $this->xunfei->fanyi($var, $fromLang, $targetLang);
if ($rst_dst) {
$vehicle[$k] = $rst_dst["trans_result"]["dst"];
}else{
unset($vehicle[$k]);
}
}
}