Commit b8abd456 by 李进峰

数据通道添加领域标识

parent cca156a6
......@@ -36,11 +36,11 @@ responseBody:
"code": 状态码, 成功时为1, 失败为0
"dialogList":[
{
"audio": "音频,格式base64,需解码,优先播放该tts",
"audioUrl": "tts音频地址,如果audio为空则播放该tts",
"npcName": "角色名称",
"person": "声音人物", // 当audioUrl, audio 都为空的时候,使用此参数调用第三方合成
"text": "文本信息msg,如果audioUrl为空则使用person合成tts"
"npcName": 角色名称
"text": 文本信息msg,如果audioUrl为空则使用person合成tts
"audioUrl": tts音频地址,如果audio为空则播放该tts
"audio": 音频,格式base64,需解码,优先播放该tts
"person": // 当audioUrl, audio 都为空的时候,使用此参数调用第三方合成
}
]
"aipioneerUsername": "bot的引擎账号",
......@@ -53,6 +53,7 @@ responseBody:
"plotImgUrl": "背景图地址",
"bgmUrl":"背景音乐地址",
"botPostData": // bot后台直接给前端的数据,如果没有就是空
"service": "OTHER", // 默认为OTHER,领域标识
}
code: 20002 权限不足
code: 50001 作品不存在
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment