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
jixudong
jiaoyou_doc
Commits
91446a6a
Commit
91446a6a
authored
Feb 24, 2021
by
李进峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
8547f78f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
63 additions
and
0 deletions
+63
-0
chat_server_post_json_doc.md
app_doc/chat_server_post_json_doc.md
+63
-0
No files found.
app_doc/chat_server_post_json_doc.md
0 → 100644
View file @
91446a6a
#### 提交JSON方式的文档, 如果是组属性的就不会出现在单变量中
METHOD: POST
HEADERS:
Parameter | Type | Description
| :----------- | :------: | ------------: |
| Content-Type | application/json| 提交类型 |
RequestBody:
```
{
"chatKey": "对话标识",
"channelId": "渠道ID",
"uid": "用户唯一ID",
"queryText": "用户说的话",
"botAccount": "bot帐号",
"vars":{
"变量1":"变量1的值",
"变量2":"变量2的值",
"变量...":"变量...的值",
"变量n":"变量n的值"
},
"groupVars":[
{
"组属性1":"组属性1的值",
"组属性2":"组属性2的值",
"组属性...":"组属性...的值",
"组属性n":"组属性n的值"
}
]
}
```
ResponseBody:
```
SUCCESS:
{
"code": 1,
"msg": "成功",
"data":{
"vars":{
"变量1":"变量1的更新值",
"变量2":"变量2的更新值",
"变量...":"变量...的更新值",
"变量n":"变量n的更新值"
},
"groupVars":[
{
"组属性1":"组属性1的更新值",
"组属性2":"组属性2的更新值",
"组属性...":"组属性...的更新值",
"组属性n":"组属性n的更新值"
}
]
}
}
FAILTURE:
{
"code": 0,
"msg": "失败",
}
```
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