更新语音

This commit is contained in:
yaooo 2023-10-10 14:46:37 +08:00
parent bfc4bbbe55
commit be9180c69e

View File

@ -239,7 +239,6 @@ class XunFeiController extends BaseApiController
//语音合成(流式版)
public function tts()
{
halt(request()->domain() . request()->host());
header('X-Accel-Buffering: no');
$ttsHostUrl = "wss://tts-api.xfyun.cn/v2/tts";
$text = request()->param('text');