更新iat语音临时
This commit is contained in:
parent
f0b853ebe9
commit
f26780470a
@ -173,7 +173,6 @@ class XunFeiController extends BaseApiController
|
|||||||
if ($ext == 'pcm') {
|
if ($ext == 'pcm') {
|
||||||
$encoding = 'raw';
|
$encoding = 'raw';
|
||||||
}
|
}
|
||||||
// $file = "https://lihai001.oss-cn-chengdu.aliyuncs.com/media/iat_mp3_16k.mp3";
|
|
||||||
$audioFile = fopen($file, 'rb');
|
$audioFile = fopen($file, 'rb');
|
||||||
if ($audioFile === false) {
|
if ($audioFile === false) {
|
||||||
return $this->fail('音频文件异常');
|
return $this->fail('音频文件异常');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user