更新语音

This commit is contained in:
yaooo 2023-10-10 17:58:33 +08:00
parent 1ff102788a
commit 6e25b7c506

View File

@ -231,7 +231,7 @@ class XunFeiController extends BaseApiController
fclose($audioFile); fclose($audioFile);
// 删除临时音频文件 // 删除临时音频文件
if (file_exists($file)) { if (file_exists($file)) {
unlink($file); //unlink($file);
} }
return $this->data(['words' => $words]); return $this->data(['words' => $words]);
} }