Commit 91446a6a by 李进峰

update

parent 8547f78f
#### 提交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": "失败",
}
```
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