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
d9245ce1
Commit
d9245ce1
authored
Aug 26, 2021
by
李进峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
4850c8b8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
app_xiaowu_api.md
app_doc/app_xiaowu_api.md
+11
-3
No files found.
app_doc/app_xiaowu_api.md
View file @
d9245ce1
...
@@ -24,16 +24,16 @@ requestBody:
...
@@ -24,16 +24,16 @@ requestBody:
{
{
"userId":"test", // 用户ID
"userId":"test", // 用户ID
"message":msg, // 用户说的话
"message":msg, // 用户说的话
"nickname":"test", // 用户别名
"chatKey":"",// 当chatKey为空时chat端会创建一个chatKey,第二次对话将需要在responseBody中取得chatKey
"chatKey":"",// 当chatKey为空时chat端会创建一个chatKey,第二次对话将需要在responseBody中取得chatKey
"title":"小狗小白" // BOT标题
"botAccount":"", // bot的帐号
"title":"小狗小白" // bot的标题; 优先级低于botAccount,当botAccount为空时选用当前字段查找作品
}
}
```
```
responseBody:
responseBody:
```
```
{
{
"code": 状态码, 成功时为1,
失败为0
"code": 状态码, 成功时为1,
其他表示失败
"dialogList":[
"dialogList":[
{
{
"npcName": 角色名称
"npcName": 角色名称
...
@@ -55,9 +55,17 @@ responseBody:
...
@@ -55,9 +55,17 @@ responseBody:
"botPostData": // bot后台直接给前端的数据,如果没有就是空
"botPostData": // bot后台直接给前端的数据,如果没有就是空
"service": "OTHER", // 默认为OTHER,领域标识
"service": "OTHER", // 默认为OTHER,领域标识
}
}
// 其他状态码
code: 0 可能情况:服务器异常;获取语音出错
code: 10005 字段错误
code: 20002 权限不足
code: 20002 权限不足
code: 50001 作品不存在
code: 50001 作品不存在
code: 50002 请求数据错误
code: 50002 请求数据错误
code: 60001 内部系统接口调用异常
code: 100001 引擎调用失败!
```
```
###### responseType的具体操作
###### responseType的具体操作
...
...
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