更新语音
This commit is contained in:
parent
bfc4bbbe55
commit
be9180c69e
@ -239,7 +239,6 @@ class XunFeiController extends BaseApiController
|
|||||||
//语音合成(流式版)
|
//语音合成(流式版)
|
||||||
public function tts()
|
public function tts()
|
||||||
{
|
{
|
||||||
halt(request()->domain() . request()->host());
|
|
||||||
header('X-Accel-Buffering: no');
|
header('X-Accel-Buffering: no');
|
||||||
$ttsHostUrl = "wss://tts-api.xfyun.cn/v2/tts";
|
$ttsHostUrl = "wss://tts-api.xfyun.cn/v2/tts";
|
||||||
$text = request()->param('text');
|
$text = request()->param('text');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user