.
This commit is contained in:
parent
1df5fe5d53
commit
76b75f566d
@ -216,6 +216,7 @@ class XunFeiController extends BaseApiController
|
|||||||
if (!in_array($ext, $extArray)) {
|
if (!in_array($ext, $extArray)) {
|
||||||
return $this->fail('录音格式错误');
|
return $this->fail('录音格式错误');
|
||||||
}
|
}
|
||||||
|
// ********** 临时方案 ********** //
|
||||||
$encoding = 'raw';
|
$encoding = 'raw';
|
||||||
if ($ext == 'mp3') {
|
if ($ext == 'mp3') {
|
||||||
$encoding = 'lame';
|
$encoding = 'lame';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user