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
1bf891b2
Commit
1bf891b2
authored
Mar 04, 2021
by
李进峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
1f6572dc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
63 deletions
+1
-63
chat_server_post_json_doc.md
app_doc/chat_server_post_json_doc.md
+0
-63
chat_server_post_json_doc.md
chat_server/chat_server_post_json_doc.md
+1
-0
No files found.
app_doc/chat_server_post_json_doc.md
deleted
100644 → 0
View file @
1f6572dc
#### 提交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": "失败",
}
```
chat_server/chat_server_post_json_doc.md
View file @
1bf891b2
#### 提交JSON方式的文档, 如果是组属性的就不会出现在单变量中
METHOD: POST
HEADERS:
...
...
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