更新iat语音
This commit is contained in:
parent
10c44791c8
commit
89ead4d9e8
@ -144,7 +144,7 @@ class XunFeiController extends BaseApiController
|
||||
if ($filesize > 1 * 1024 * 1024) {
|
||||
return $this->fail('录音文件太长');
|
||||
}
|
||||
$last_file_array = explode('\\', $savename);
|
||||
$last_file_array = explode('/', $savename);
|
||||
$n = count($last_file_array) - 1;
|
||||
$last_file = $last_file_array[$n];
|
||||
$copyFile = app()->getRootPath() . '/public/uploads/iat/' . $last_file;
|
||||
|
Loading…
x
Reference in New Issue
Block a user