更新iat语音临时

This commit is contained in:
yaooo 2023-10-11 18:45:24 +08:00
parent f0b853ebe9
commit f26780470a

View File

@ -173,7 +173,6 @@ class XunFeiController extends BaseApiController
if ($ext == 'pcm') {
$encoding = 'raw';
}
// $file = "https://lihai001.oss-cn-chengdu.aliyuncs.com/media/iat_mp3_16k.mp3";
$audioFile = fopen($file, 'rb');
if ($audioFile === false) {
return $this->fail('音频文件异常');