From 5ecd1d9d0325a9fcdb75863716a7a6acbb143239 Mon Sep 17 00:00:00 2001 From: jinfengli Date: Mon, 20 Mar 2023 17:29:09 +0800 Subject: [PATCH] 添加多张背景图配置 --- app_doc/center_control_api.md | 84 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) diff --git a/app_doc/center_control_api.md b/app_doc/center_control_api.md index a01b7ce..565db81 100644 --- a/app_doc/center_control_api.md +++ b/app_doc/center_control_api.md @@ -86,6 +86,16 @@ responseBody: "msg":"嗯嗯", "score": 27 } + ], + "mediaList": [ // 媒体配置 + { + "id": "ID111", // 小手指指令中的ID, 例如: ☛背景图:ID111☚ + "url": "https://image.heyqiwu.cn/media/test2.jpg" // 媒体地址 + }, + { + "id": "ID112", + "url": "https://image.heyqiwu.cn/media/test3.jpg" + } ] } code: 20002 权限不足 @@ -234,3 +244,77 @@ RequestBody: "text": "【小悟@正常】推荐如下作品:《遇见伽利略》、《小狗小白》、《水心湖的音乐家》 .你可以说:“打开某作品”" } ``` + + + +``` +{ + "aipioneerUsername": "txgz14botceshixinjianzuopin12987240037", + "asr": "shenghan", + "botStatus": "enter", + "code": 1, + "data": {}, + "dialogList": [ + { + "aipioneerUsername": "txgz14botceshixinjianzuopin12987240037", + "audio": "", + "audioUrl": "", + "npcName": "旁白", + "person": "Liehu1", + "text": "☛背景图:ID111☚" + }, + { + "aipioneerUsername": "txgz14botceshixinjianzuopin12987240037", + "audio": "", + "audioUrl": "http://tx-gz10.heyqiwu.cn:9663/api/audio/cache/txgz14botceshixinjianzuopin12987240037/?filename=/txgz14botceshixinjianzuopin12987240037/ProTencent17/正常/9f9a88edf64cb58bbc14d5fcf299c2f0.mp3", + "npcName": "旁白", + "person": "Liehu1", + "text": "11背景图测试1" + }, + { + "aipioneerUsername": "txgz14botceshixinjianzuopin12987240037", + "audio": "", + "audioUrl": "", + "npcName": "旁白", + "person": "Liehu1", + "text": "☛背景图:ID112☚" + }, + { + "aipioneerUsername": "txgz14botceshixinjianzuopin12987240037", + "audio": "", + "audioUrl": "http://tx-gz10.heyqiwu.cn:9663/api/audio/cache/txgz14botceshixinjianzuopin12987240037/?filename=/txgz14botceshixinjianzuopin12987240037/ProTencent17/正常/37f50df7b2d49a3e2cb4a67708c55c12.mp3", + "npcName": "旁白", + "person": "Liehu1", + "text": "11背景图测试2" + } + ], + "expire": 180000, + "extraChatKey": "tongyong-phone-mobileapp-test001@@@txgz14botceshixinjianzuopin12987240037@@@@yz3Vd9JS66hWn5MuW5um", + "logs": [], + "mainChatKey": "tongyong-phone-mobileapp-test001@@@gz25botshoubiaozhongkong090274765560@@@@tcD0x5LcSVyy74jzO6bI", + "mediaList": [ + { + "id": "ID111", + "url": "https://image.heyqiwu.cn/media/test2.jpg" + }, + { + "id": "ID112", + "url": "https://image.heyqiwu.cn/media/test3.jpg" + } + ], + "pageStatus": 3, + "plotImgUrl": "https://image.heyqiwu.cn/media/test2.jpg", + "recommendMsgList": [], + "responseType": 10001, + "showedWorkName": "新背景相关数据测试", + "supplierDetail": { + "model": "susie-asr-8k", + "url": "ws://asr-sh-pro.centaurstech.com/asr2", + "waitTime": 15000 + }, + "title": "新背景相关数据测试", + "workStoryInfos": [], + "workType": 1 +} + +``` \ No newline at end of file -- libgit2 0.27.1