Commit 873f7093 by 甘术超

修改部分接口文档

parent 228cf67f
##### 删除命令
++ /dev/null
##### 删除命令
URL: /edit/deleteMainCommandNumCommand/id
METHOD: delete
RequestHeaders:
| key | value |
| :----------- | :------------: |
| Content-Type | application/json;charset=utf-8 |
responseBody:
```
SUCCESS:
{
"code": 1,
"msg": "删除成功",
"data": null
}
```
##### 新增命令
##### 新增模板
##### 新增命令
##### 新增模板
URL: /edit/addMainCommandNumCommand
URL: /edit/addModel
METHOD: post
......@@ -13,12 +13,19 @@ RequestHeaders:
requestBody:
```
{
"mainCommandName":"cuihuo", // 主命令
"commandName":"${指令一}" // 命令拼接
"name":"2", // 模板名称
"open":"2", // 是否打开
"type":"2", // 类型
"srcText":"2", // 原始数据
"tmplContent":"2", // 单条格式使用
"tableTmplContentTh":"2", // 表格头部
"tableTmplContentTb":"2", // 表格体
"tableTmplContentTf":"2", // 表格尾部
"commandId":"2", // 命令数据ID
"keywords":"2" // 关键词
}
```
responseBody:
```
SUCCESS:
......
##### 修改命令
##### 更新命令
##### 修改命令
##### 更新命令
URL: /edit/updateMainCommandNumCommand
......@@ -12,11 +12,12 @@ RequestHeaders:
requestBody:
```
{
"id":"1", // 数据ID
"mainCommandName":"look", // 数据主命令
"commandName":"${指令一} ${指令一某生物}" // 拼接命令
}
[
{
"mainCommandName":"look", // 数据主命令
"commandName":"${指令一} ${指令一某生物}" // 拼接命令
}
]
```
responseBody:
......@@ -24,7 +25,7 @@ responseBody:
SUCCESS:
{
"code": 1,
"msg": "修改成功",
"msg": "更新成功",
"data": null
}
```
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