更新iat语音

This commit is contained in:
yaooo 2023-10-11 17:28:12 +08:00
parent 9cafd54067
commit d3f8477559

View File

@ -148,6 +148,7 @@ class XunFeiController extends BaseApiController
$n = count($last_file_array) - 1;
$last_file = $last_file_array[$n];
$copyFile = app()->getRootPath() . '/public/uploads/iat/' . $last_file;
halt($file, $copyFile);
copy($file, $copyFile);
$ext = pathinfo($file, PATHINFO_EXTENSION);
$extArray = ['mp3', 'pcm'];