Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jiaoyou_doc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
songyinting
jiaoyou_doc
Commits
dcf9d516
Commit
dcf9d516
authored
Dec 16, 2020
by
李进峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
7a61ad4e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
84 additions
and
0 deletions
+84
-0
chat_test.md
platform/chat_test.md
+84
-0
No files found.
platform/chat_test.md
0 → 100644
View file @
dcf9d516
#### 获取服务列表信息
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment