diff --git "a/mud/\345\210\240\351\231\244\345\221\275\344\273\244.md" "b/mud/\345\210\240\351\231\244\345\221\275\344\273\244.md" deleted file mode 100644 index db4682c..0000000 --- "a/mud/\345\210\240\351\231\244\345\221\275\344\273\244.md" +++ /dev/null @@ -1,21 +0,0 @@ -##### 删除命令 - -URL: /edit/deleteMainCommandNumCommand/id - -METHOD: delete - -RequestHeaders: - -| key | value | -| :----------- | :------------: | -| Content-Type | application/json;charset=utf-8 | - -responseBody: -``` -SUCCESS: -{ - "code": 1, - "msg": "删除成功", - "data": null -} -``` diff --git "a/mud/\346\226\260\345\242\236\345\221\275\344\273\244.md" "b/mud/\346\226\260\345\242\236\346\250\241\346\235\277 .md" similarity index 70% rename from "mud/\346\226\260\345\242\236\345\221\275\344\273\244.md" rename to "mud/\346\226\260\345\242\236\346\250\241\346\235\277 .md" index 83560c4..e5a8d62 100644 --- "a/mud/\346\226\260\345\242\236\345\221\275\344\273\244.md" +++ "b/mud/\346\226\260\345\242\236\346\250\241\346\235\277 .md" @@ -1,6 +1,6 @@ -##### 新增命令 +##### 新增模板 -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: diff --git "a/mud/\344\277\256\346\224\271\345\221\275\344\273\244.md" "b/mud/\346\233\264\346\226\260\345\221\275\344\273\244.md" similarity index 85% rename from "mud/\344\277\256\346\224\271\345\221\275\344\273\244.md" rename to "mud/\346\233\264\346\226\260\345\221\275\344\273\244.md" index 77ae372..2573450 100644 --- "a/mud/\344\277\256\346\224\271\345\221\275\344\273\244.md" +++ "b/mud/\346\233\264\346\226\260\345\221\275\344\273\244.md" @@ -1,4 +1,4 @@ -##### 修改命令 +##### 更新命令 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 } ```