Commit dcf9d516 by 李进峰

update

parent 7a61ad4e
#### 获取服务列表信息
URL: https://developer.heyqiwu.cn/api/platform/chattest/api/service/list
METHOD: GET
RequesetHeaders:
| key | value |
| :----------- | :------------ |
| Content-Type | application/json;charset=utf-8 |
| Authorization | token |
ResponseBody:
```
{
"code": 1,
"msg": "成功",
"data": [
{
"baseUrl": "http://api-pro.heyqiwu.cn:8070",
"typeMapPath": {
"0": "/api/chat",
"1": "/api/cha2",
"2": "/api/chat/xiaowu"
},
"serviceName": "交游生产环境"
},
{
"baseUrl": "http://api-pre.heyqiwu.cn:8070",
"typeMapPath": {
"0": "/api/chat",
"1": "/api/cha2",
"2": "/api/chat/xiaowu"
},
"serviceName": "交游测试环境"
}
]
}
```
#### 获取渠道信息
URL: {baseUrl}/api/channelInfo/channel
METHOD: GET
RequesetHeaders:
| key | value |
| :----------- | :------------ |
| Content-Type | application/json;charset=utf-8 |
| Authorization | token |
ResponseBody:
```
{
"code": 1,
"msg": "成功",
"data": [
{
"channelName": "交游天下电视(测试C)",
"type": 0,
"channelId": "jiaoyouC-tv-api-test"
},
{
"channelName": "三基v2手表",
"type": 0,
"channelId": "sgtcv2-watch-sdk-pro"
},
{
"channelName": "天猫精灵音箱(晓悟智能小说)",
"type": 1,
"channelId": "tianmao-jiaoyou-audio-adult-test"
}
]
}
```
##### 其他对话接口文档
- /api/chat|/api/chat2
- http://192.168.1.81:8000/jinfengli/jiaoyou_doc/blob/master/app_doc/center_control_api.md
- /api/chat/xiaowu
- http://192.168.1.81:8000/jinfengli/jiaoyou_doc/blob/master/app_doc/app_xiaowu_api.md
\ No newline at end of file
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