perf: update swag
This commit is contained in:
1 parent
386d08a03f
commit
8e8fe906fd
5 files changed
+1260
-458
No files matched your search
+457
-185
File diff suppressed because it is too large.
Load diff
+443
-132
@@ -214,7 +214,7 @@
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/dto.SysDeptControl"
|
||||
"$ref": "#/definitions/dto.SysDeptInsertReq"
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -245,7 +245,7 @@
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/dto.SysDeptById"
|
||||
"$ref": "#/definitions/dto.SysDeptDeleteReq"
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -270,19 +270,13 @@
|
||||
"tags": [
|
||||
"部门"
|
||||
],
|
||||
"summary": "部门列表数据",
|
||||
"summary": "获取部门数据",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "deptId",
|
||||
"name": "deptId",
|
||||
"in": "path"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "position",
|
||||
"name": "position",
|
||||
"in": "query"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
@@ -322,7 +316,7 @@
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/dto.SysDeptControl"
|
||||
"$ref": "#/definitions/dto.SysDeptUpdateReq"
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -359,9 +353,24 @@
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"code\": -1, \"message\": \"删除失败\"}",
|
||||
"description": "{\"code\": 200, \"data\": [...]}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/response.Response"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"data": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/dto.SysDictDataGetAllResp"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -441,15 +450,15 @@
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/dto.SysDictDataControl"
|
||||
"$ref": "#/definitions/dto.SysDictDataInsertReq"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"code\": -1, \"message\": \"添加失败\"}",
|
||||
"description": "{\"code\": 200, \"message\": \"添加成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
"$ref": "#/definitions/response.Response"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -472,15 +481,15 @@
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/dto.SysDictDataById"
|
||||
"$ref": "#/definitions/dto.SysDictDataDeleteReq"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"code\": -1, \"message\": \"删除失败\"}",
|
||||
"description": "{\"code\": 200, \"message\": \"删除成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
"$ref": "#/definitions/response.Response"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -537,15 +546,15 @@
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/dto.SysDictDataControl"
|
||||
"$ref": "#/definitions/dto.SysDictDataUpdateReq"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"code\": -1, \"message\": \"添加失败\"}",
|
||||
"description": "{\"code\": 200, \"message\": \"修改成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
"$ref": "#/definitions/response.Response"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -625,15 +634,15 @@
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/dto.SysDictTypeControl"
|
||||
"$ref": "#/definitions/dto.SysDictTypeInsertReq"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"code\": -1, \"message\": \"添加失败\"}",
|
||||
"description": "{\"code\": 200, \"data\": [...]}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
"$ref": "#/definitions/response.Response"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -651,18 +660,20 @@
|
||||
"summary": "删除字典类型",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "integer",
|
||||
"description": "dictId",
|
||||
"name": "dictId",
|
||||
"in": "path",
|
||||
"required": true
|
||||
"description": "body",
|
||||
"name": "dictCode",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/dto.SysDictTypeDeleteReq"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"code\": -1, \"message\": \"删除失败\"}",
|
||||
"description": "{\"code\": 200, \"data\": [...]}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
"$ref": "#/definitions/response.Response"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -761,15 +772,15 @@
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/dto.SysDictTypeControl"
|
||||
"$ref": "#/definitions/dto.SysDictTypeUpdateReq"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"code\": -1, \"message\": \"添加失败\"}",
|
||||
"description": "{\"code\": 200, \"data\": [...]}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
"$ref": "#/definitions/response.Response"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -841,12 +852,6 @@
|
||||
],
|
||||
"summary": "Menu列表数据",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "menuName",
|
||||
"name": "menuName",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "menuName",
|
||||
@@ -884,7 +889,7 @@
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/dto.SysMenuControl"
|
||||
"$ref": "#/definitions/dto.SysMenuInsertReq"
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -915,7 +920,7 @@
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/dto.SysMenuById"
|
||||
"$ref": "#/definitions/dto.SysMenuDeleteReq"
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -986,7 +991,7 @@
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/dto.SysMenuControl"
|
||||
"$ref": "#/definitions/dto.SysMenuUpdateReq"
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -1130,9 +1135,9 @@
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"code\": -1, \"message\": \"添加失败\"}",
|
||||
"description": "{\"code\": 200, \"data\": [...]}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
"$ref": "#/definitions/response.Response"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1161,15 +1166,9 @@
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"code\": 200, \"message\": \"删除成功\"}",
|
||||
"description": "{\"code\": 200, \"data\": [...]}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"500": {
|
||||
"description": "{\"code\": 500, \"message\": \"删除失败\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
"$ref": "#/definitions/response.Response"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1203,9 +1202,9 @@
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"code\": -1, \"message\": \"添加失败\"}",
|
||||
"description": "{\"code\": 200, \"data\": [...]}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
"$ref": "#/definitions/response.Response"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1357,7 +1356,7 @@
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/dto.SysRoleControl"
|
||||
"$ref": "#/definitions/dto.SysRoleInsertReq"
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -1388,7 +1387,7 @@
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/dto.SysRoleById"
|
||||
"$ref": "#/definitions/dto.SysRoleDeleteReq"
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -1488,7 +1487,7 @@
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/dto.SysRoleControl"
|
||||
"$ref": "#/definitions/dto.SysRoleUpdateReq"
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -1698,14 +1697,12 @@
|
||||
"summary": "删除接口管理",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "ids",
|
||||
"name": "ids",
|
||||
"description": "body",
|
||||
"name": "data",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "integer"
|
||||
}
|
||||
"$ref": "#/definitions/dto.SysApiDeleteReq"
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -1781,7 +1778,7 @@
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/dto.SysApiControl"
|
||||
"$ref": "#/definitions/dto.SysApiUpdateReq"
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -2102,7 +2099,7 @@
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/dto.SysLoginLogById"
|
||||
"$ref": "#/definitions/dto.SysLoginLogDeleteReq"
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -2235,7 +2232,7 @@
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/dto.SysOperaLogById"
|
||||
"$ref": "#/definitions/dto.SysOperaLogDeleteReq"
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -2329,7 +2326,7 @@
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/dto.SysUserControl"
|
||||
"$ref": "#/definitions/dto.SysUserInsertReq"
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -2394,7 +2391,7 @@
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/dto.SysUserControl"
|
||||
"$ref": "#/definitions/dto.SysUserUpdateReq"
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -2702,7 +2699,7 @@
|
||||
"tags": [
|
||||
"用户"
|
||||
],
|
||||
"summary": "重置密码",
|
||||
"summary": "修改密码",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "body",
|
||||
@@ -2797,10 +2794,6 @@
|
||||
},
|
||||
"dto.PassWord": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"newPassword",
|
||||
"oldPassword"
|
||||
],
|
||||
"properties": {
|
||||
"newPassword": {
|
||||
"type": "string"
|
||||
@@ -2812,10 +2805,6 @@
|
||||
},
|
||||
"dto.ResetSysUserPwdReq": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"password",
|
||||
"userId"
|
||||
],
|
||||
"properties": {
|
||||
"createBy": {
|
||||
"type": "integer"
|
||||
@@ -2853,7 +2842,18 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"dto.SysApiControl": {
|
||||
"dto.SysApiDeleteReq": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"ids": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"dto.SysApiUpdateReq": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"action": {
|
||||
@@ -2914,7 +2914,7 @@
|
||||
"type": "integer"
|
||||
},
|
||||
"isFrontend": {
|
||||
"type": "integer"
|
||||
"type": "string"
|
||||
},
|
||||
"remark": {
|
||||
"type": "string"
|
||||
@@ -2924,12 +2924,9 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"dto.SysDeptById": {
|
||||
"dto.SysDeptDeleteReq": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"ids": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
@@ -2938,7 +2935,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"dto.SysDeptControl": {
|
||||
"dto.SysDeptInsertReq": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"createBy": {
|
||||
@@ -2985,13 +2982,57 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"dto.SysDictDataById": {
|
||||
"dto.SysDeptUpdateReq": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"createBy": {
|
||||
"type": "integer"
|
||||
},
|
||||
"id": {
|
||||
"deptId": {
|
||||
"description": "编码",
|
||||
"type": "integer"
|
||||
},
|
||||
"deptName": {
|
||||
"description": "部门名称",
|
||||
"type": "string"
|
||||
},
|
||||
"deptPath": {
|
||||
"description": "路径",
|
||||
"type": "string"
|
||||
},
|
||||
"email": {
|
||||
"description": "邮箱",
|
||||
"type": "string"
|
||||
},
|
||||
"leader": {
|
||||
"description": "负责人",
|
||||
"type": "string"
|
||||
},
|
||||
"parentId": {
|
||||
"description": "上级部门",
|
||||
"type": "integer"
|
||||
},
|
||||
"phone": {
|
||||
"description": "手机",
|
||||
"type": "string"
|
||||
},
|
||||
"sort": {
|
||||
"description": "排序",
|
||||
"type": "integer"
|
||||
},
|
||||
"status": {
|
||||
"description": "状态",
|
||||
"type": "integer"
|
||||
},
|
||||
"updateBy": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"dto.SysDictDataDeleteReq": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"createBy": {
|
||||
"type": "integer"
|
||||
},
|
||||
"ids": {
|
||||
@@ -3005,7 +3046,59 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"dto.SysDictDataControl": {
|
||||
"dto.SysDictDataGetAllResp": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"label": {
|
||||
"type": "string"
|
||||
},
|
||||
"value": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"dto.SysDictDataInsertReq": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"createBy": {
|
||||
"type": "integer"
|
||||
},
|
||||
"cssClass": {
|
||||
"type": "string"
|
||||
},
|
||||
"default": {
|
||||
"type": "string"
|
||||
},
|
||||
"dictLabel": {
|
||||
"type": "string"
|
||||
},
|
||||
"dictSort": {
|
||||
"type": "integer"
|
||||
},
|
||||
"dictType": {
|
||||
"type": "string"
|
||||
},
|
||||
"dictValue": {
|
||||
"type": "string"
|
||||
},
|
||||
"isDefault": {
|
||||
"type": "string"
|
||||
},
|
||||
"listClass": {
|
||||
"type": "string"
|
||||
},
|
||||
"remark": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "integer"
|
||||
},
|
||||
"updateBy": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"dto.SysDictDataUpdateReq": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"createBy": {
|
||||
@@ -3049,7 +3142,24 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"dto.SysDictTypeControl": {
|
||||
"dto.SysDictTypeDeleteReq": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"createBy": {
|
||||
"type": "integer"
|
||||
},
|
||||
"ids": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"updateBy": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"dto.SysDictTypeInsertReq": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"createBy": {
|
||||
@@ -3075,15 +3185,49 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"dto.SysLoginLogById": {
|
||||
"dto.SysDictTypeUpdateReq": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"createBy": {
|
||||
"type": "integer"
|
||||
},
|
||||
"dictName": {
|
||||
"type": "string"
|
||||
},
|
||||
"dictType": {
|
||||
"type": "string"
|
||||
},
|
||||
"id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"remark": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "integer"
|
||||
},
|
||||
"updateBy": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"dto.SysLoginLogDeleteReq": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"ids": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"dto.SysMenuDeleteReq": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"createBy": {
|
||||
"type": "integer"
|
||||
},
|
||||
"ids": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
@@ -3095,27 +3239,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"dto.SysMenuById": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"createBy": {
|
||||
"type": "integer"
|
||||
},
|
||||
"id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"ids": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"updateBy": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"dto.SysMenuControl": {
|
||||
"dto.SysMenuInsertReq": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"action": {
|
||||
@@ -3202,12 +3326,96 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"dto.SysOperaLogById": {
|
||||
"dto.SysMenuUpdateReq": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"action": {
|
||||
"description": "请求方式",
|
||||
"type": "string"
|
||||
},
|
||||
"apis": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"breadcrumb": {
|
||||
"description": "是否面包屑",
|
||||
"type": "string"
|
||||
},
|
||||
"component": {
|
||||
"description": "组件",
|
||||
"type": "string"
|
||||
},
|
||||
"createBy": {
|
||||
"type": "integer"
|
||||
},
|
||||
"icon": {
|
||||
"description": "图标",
|
||||
"type": "string"
|
||||
},
|
||||
"isFrame": {
|
||||
"description": "是否frame",
|
||||
"type": "string"
|
||||
},
|
||||
"menuId": {
|
||||
"description": "编码",
|
||||
"type": "integer"
|
||||
},
|
||||
"menuName": {
|
||||
"description": "菜单name",
|
||||
"type": "string"
|
||||
},
|
||||
"menuType": {
|
||||
"description": "菜单类型",
|
||||
"type": "string"
|
||||
},
|
||||
"noCache": {
|
||||
"description": "是否缓存",
|
||||
"type": "boolean"
|
||||
},
|
||||
"parentId": {
|
||||
"description": "上级菜单",
|
||||
"type": "integer"
|
||||
},
|
||||
"path": {
|
||||
"description": "路径",
|
||||
"type": "string"
|
||||
},
|
||||
"paths": {
|
||||
"description": "id路径",
|
||||
"type": "string"
|
||||
},
|
||||
"permission": {
|
||||
"description": "权限编码",
|
||||
"type": "string"
|
||||
},
|
||||
"sort": {
|
||||
"description": "排序",
|
||||
"type": "integer"
|
||||
},
|
||||
"sysApi": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/models.SysApi"
|
||||
}
|
||||
},
|
||||
"title": {
|
||||
"description": "显示名称",
|
||||
"type": "string"
|
||||
},
|
||||
"updateBy": {
|
||||
"type": "integer"
|
||||
},
|
||||
"visible": {
|
||||
"description": "是否显示",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"dto.SysOperaLogDeleteReq": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"ids": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
@@ -3291,12 +3499,9 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"dto.SysRoleById": {
|
||||
"dto.SysRoleDeleteReq": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"ids": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
@@ -3305,7 +3510,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"dto.SysRoleControl": {
|
||||
"dto.SysRoleInsertReq": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"admin": {
|
||||
@@ -3374,16 +3579,77 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"dto.SysUserControl": {
|
||||
"dto.SysRoleUpdateReq": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"admin": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"createBy": {
|
||||
"type": "integer"
|
||||
},
|
||||
"dataScope": {
|
||||
"type": "string"
|
||||
},
|
||||
"deptIds": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"flag": {
|
||||
"description": "标记",
|
||||
"type": "string"
|
||||
},
|
||||
"menuIds": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"remark": {
|
||||
"description": "备注",
|
||||
"type": "string"
|
||||
},
|
||||
"roleId": {
|
||||
"description": "角色编码",
|
||||
"type": "integer"
|
||||
},
|
||||
"roleKey": {
|
||||
"description": "角色代码",
|
||||
"type": "string"
|
||||
},
|
||||
"roleName": {
|
||||
"description": "角色名称",
|
||||
"type": "string"
|
||||
},
|
||||
"roleSort": {
|
||||
"description": "角色排序",
|
||||
"type": "integer"
|
||||
},
|
||||
"status": {
|
||||
"description": "状态",
|
||||
"type": "string"
|
||||
},
|
||||
"sysDept": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/models.SysDept"
|
||||
}
|
||||
},
|
||||
"sysMenu": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/models.SysMenu"
|
||||
}
|
||||
},
|
||||
"updateBy": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"dto.SysUserInsertReq": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"deptId",
|
||||
"email",
|
||||
"nickName",
|
||||
"phone",
|
||||
"status",
|
||||
"username"
|
||||
],
|
||||
"properties": {
|
||||
"avatar": {
|
||||
"type": "string"
|
||||
@@ -3434,6 +3700,55 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"dto.SysUserUpdateReq": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"avatar": {
|
||||
"type": "string"
|
||||
},
|
||||
"createBy": {
|
||||
"type": "integer"
|
||||
},
|
||||
"deptId": {
|
||||
"type": "integer"
|
||||
},
|
||||
"email": {
|
||||
"type": "string"
|
||||
},
|
||||
"nickName": {
|
||||
"type": "string"
|
||||
},
|
||||
"phone": {
|
||||
"type": "string"
|
||||
},
|
||||
"postId": {
|
||||
"type": "integer"
|
||||
},
|
||||
"remark": {
|
||||
"type": "string"
|
||||
},
|
||||
"roleId": {
|
||||
"type": "integer"
|
||||
},
|
||||
"sex": {
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"type": "string",
|
||||
"default": "1"
|
||||
},
|
||||
"updateBy": {
|
||||
"type": "integer"
|
||||
},
|
||||
"userId": {
|
||||
"description": "用户ID",
|
||||
"type": "integer"
|
||||
},
|
||||
"username": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"dto.UpdateStatusReq": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -3455,10 +3770,6 @@
|
||||
},
|
||||
"dto.UpdateSysUserStatusReq": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"status",
|
||||
"userId"
|
||||
],
|
||||
"properties": {
|
||||
"createBy": {
|
||||
"type": "integer"
|
||||
@@ -3558,7 +3869,7 @@
|
||||
"type": "integer"
|
||||
},
|
||||
"isFrontend": {
|
||||
"type": "integer"
|
||||
"type": "string"
|
||||
},
|
||||
"remark": {
|
||||
"type": "string"
|
||||
|
||||
+321
-111
@@ -12,9 +12,6 @@ definitions:
|
||||
type: string
|
||||
oldPassword:
|
||||
type: string
|
||||
required:
|
||||
- newPassword
|
||||
- oldPassword
|
||||
type: object
|
||||
dto.ResetSysUserPwdReq:
|
||||
properties:
|
||||
@@ -27,9 +24,6 @@ definitions:
|
||||
userId:
|
||||
description: 用户ID
|
||||
type: integer
|
||||
required:
|
||||
- password
|
||||
- userId
|
||||
type: object
|
||||
dto.RoleDataScopeReq:
|
||||
properties:
|
||||
@@ -45,7 +39,14 @@ definitions:
|
||||
- dataScope
|
||||
- roleId
|
||||
type: object
|
||||
dto.SysApiControl:
|
||||
dto.SysApiDeleteReq:
|
||||
properties:
|
||||
ids:
|
||||
items:
|
||||
type: integer
|
||||
type: array
|
||||
type: object
|
||||
dto.SysApiUpdateReq:
|
||||
properties:
|
||||
action:
|
||||
type: string
|
||||
@@ -86,22 +87,20 @@ definitions:
|
||||
description: 编码
|
||||
type: integer
|
||||
isFrontend:
|
||||
type: integer
|
||||
type: string
|
||||
remark:
|
||||
type: string
|
||||
updateBy:
|
||||
type: integer
|
||||
type: object
|
||||
dto.SysDeptById:
|
||||
dto.SysDeptDeleteReq:
|
||||
properties:
|
||||
id:
|
||||
type: integer
|
||||
ids:
|
||||
items:
|
||||
type: integer
|
||||
type: array
|
||||
type: object
|
||||
dto.SysDeptControl:
|
||||
dto.SysDeptInsertReq:
|
||||
properties:
|
||||
createBy:
|
||||
type: integer
|
||||
@@ -135,11 +134,43 @@ definitions:
|
||||
updateBy:
|
||||
type: integer
|
||||
type: object
|
||||
dto.SysDictDataById:
|
||||
dto.SysDeptUpdateReq:
|
||||
properties:
|
||||
createBy:
|
||||
type: integer
|
||||
id:
|
||||
deptId:
|
||||
description: 编码
|
||||
type: integer
|
||||
deptName:
|
||||
description: 部门名称
|
||||
type: string
|
||||
deptPath:
|
||||
description: 路径
|
||||
type: string
|
||||
email:
|
||||
description: 邮箱
|
||||
type: string
|
||||
leader:
|
||||
description: 负责人
|
||||
type: string
|
||||
parentId:
|
||||
description: 上级部门
|
||||
type: integer
|
||||
phone:
|
||||
description: 手机
|
||||
type: string
|
||||
sort:
|
||||
description: 排序
|
||||
type: integer
|
||||
status:
|
||||
description: 状态
|
||||
type: integer
|
||||
updateBy:
|
||||
type: integer
|
||||
type: object
|
||||
dto.SysDictDataDeleteReq:
|
||||
properties:
|
||||
createBy:
|
||||
type: integer
|
||||
ids:
|
||||
items:
|
||||
@@ -148,7 +179,41 @@ definitions:
|
||||
updateBy:
|
||||
type: integer
|
||||
type: object
|
||||
dto.SysDictDataControl:
|
||||
dto.SysDictDataGetAllResp:
|
||||
properties:
|
||||
label:
|
||||
type: string
|
||||
value:
|
||||
type: string
|
||||
type: object
|
||||
dto.SysDictDataInsertReq:
|
||||
properties:
|
||||
createBy:
|
||||
type: integer
|
||||
cssClass:
|
||||
type: string
|
||||
default:
|
||||
type: string
|
||||
dictLabel:
|
||||
type: string
|
||||
dictSort:
|
||||
type: integer
|
||||
dictType:
|
||||
type: string
|
||||
dictValue:
|
||||
type: string
|
||||
isDefault:
|
||||
type: string
|
||||
listClass:
|
||||
type: string
|
||||
remark:
|
||||
type: string
|
||||
status:
|
||||
type: integer
|
||||
updateBy:
|
||||
type: integer
|
||||
type: object
|
||||
dto.SysDictDataUpdateReq:
|
||||
properties:
|
||||
createBy:
|
||||
type: integer
|
||||
@@ -177,7 +242,18 @@ definitions:
|
||||
updateBy:
|
||||
type: integer
|
||||
type: object
|
||||
dto.SysDictTypeControl:
|
||||
dto.SysDictTypeDeleteReq:
|
||||
properties:
|
||||
createBy:
|
||||
type: integer
|
||||
ids:
|
||||
items:
|
||||
type: integer
|
||||
type: array
|
||||
updateBy:
|
||||
type: integer
|
||||
type: object
|
||||
dto.SysDictTypeInsertReq:
|
||||
properties:
|
||||
createBy:
|
||||
type: integer
|
||||
@@ -194,12 +270,34 @@ definitions:
|
||||
updateBy:
|
||||
type: integer
|
||||
type: object
|
||||
dto.SysLoginLogById:
|
||||
dto.SysDictTypeUpdateReq:
|
||||
properties:
|
||||
createBy:
|
||||
type: integer
|
||||
dictName:
|
||||
type: string
|
||||
dictType:
|
||||
type: string
|
||||
id:
|
||||
type: integer
|
||||
remark:
|
||||
type: string
|
||||
status:
|
||||
type: integer
|
||||
updateBy:
|
||||
type: integer
|
||||
type: object
|
||||
dto.SysLoginLogDeleteReq:
|
||||
properties:
|
||||
ids:
|
||||
items:
|
||||
type: integer
|
||||
type: array
|
||||
type: object
|
||||
dto.SysMenuDeleteReq:
|
||||
properties:
|
||||
createBy:
|
||||
type: integer
|
||||
ids:
|
||||
items:
|
||||
type: integer
|
||||
@@ -207,20 +305,7 @@ definitions:
|
||||
updateBy:
|
||||
type: integer
|
||||
type: object
|
||||
dto.SysMenuById:
|
||||
properties:
|
||||
createBy:
|
||||
type: integer
|
||||
id:
|
||||
type: integer
|
||||
ids:
|
||||
items:
|
||||
type: integer
|
||||
type: array
|
||||
updateBy:
|
||||
type: integer
|
||||
type: object
|
||||
dto.SysMenuControl:
|
||||
dto.SysMenuInsertReq:
|
||||
properties:
|
||||
action:
|
||||
description: 请求方式
|
||||
@@ -283,10 +368,71 @@ definitions:
|
||||
description: 是否显示
|
||||
type: string
|
||||
type: object
|
||||
dto.SysOperaLogById:
|
||||
dto.SysMenuUpdateReq:
|
||||
properties:
|
||||
id:
|
||||
action:
|
||||
description: 请求方式
|
||||
type: string
|
||||
apis:
|
||||
items:
|
||||
type: integer
|
||||
type: array
|
||||
breadcrumb:
|
||||
description: 是否面包屑
|
||||
type: string
|
||||
component:
|
||||
description: 组件
|
||||
type: string
|
||||
createBy:
|
||||
type: integer
|
||||
icon:
|
||||
description: 图标
|
||||
type: string
|
||||
isFrame:
|
||||
description: 是否frame
|
||||
type: string
|
||||
menuId:
|
||||
description: 编码
|
||||
type: integer
|
||||
menuName:
|
||||
description: 菜单name
|
||||
type: string
|
||||
menuType:
|
||||
description: 菜单类型
|
||||
type: string
|
||||
noCache:
|
||||
description: 是否缓存
|
||||
type: boolean
|
||||
parentId:
|
||||
description: 上级菜单
|
||||
type: integer
|
||||
path:
|
||||
description: 路径
|
||||
type: string
|
||||
paths:
|
||||
description: id路径
|
||||
type: string
|
||||
permission:
|
||||
description: 权限编码
|
||||
type: string
|
||||
sort:
|
||||
description: 排序
|
||||
type: integer
|
||||
sysApi:
|
||||
items:
|
||||
$ref: '#/definitions/models.SysApi'
|
||||
type: array
|
||||
title:
|
||||
description: 显示名称
|
||||
type: string
|
||||
updateBy:
|
||||
type: integer
|
||||
visible:
|
||||
description: 是否显示
|
||||
type: string
|
||||
type: object
|
||||
dto.SysOperaLogDeleteReq:
|
||||
properties:
|
||||
ids:
|
||||
items:
|
||||
type: integer
|
||||
@@ -341,16 +487,14 @@ definitions:
|
||||
updateBy:
|
||||
type: integer
|
||||
type: object
|
||||
dto.SysRoleById:
|
||||
dto.SysRoleDeleteReq:
|
||||
properties:
|
||||
id:
|
||||
type: integer
|
||||
ids:
|
||||
items:
|
||||
type: integer
|
||||
type: array
|
||||
type: object
|
||||
dto.SysRoleControl:
|
||||
dto.SysRoleInsertReq:
|
||||
properties:
|
||||
admin:
|
||||
type: boolean
|
||||
@@ -398,7 +542,55 @@ definitions:
|
||||
updateBy:
|
||||
type: integer
|
||||
type: object
|
||||
dto.SysUserControl:
|
||||
dto.SysRoleUpdateReq:
|
||||
properties:
|
||||
admin:
|
||||
type: boolean
|
||||
createBy:
|
||||
type: integer
|
||||
dataScope:
|
||||
type: string
|
||||
deptIds:
|
||||
items:
|
||||
type: integer
|
||||
type: array
|
||||
flag:
|
||||
description: 标记
|
||||
type: string
|
||||
menuIds:
|
||||
items:
|
||||
type: integer
|
||||
type: array
|
||||
remark:
|
||||
description: 备注
|
||||
type: string
|
||||
roleId:
|
||||
description: 角色编码
|
||||
type: integer
|
||||
roleKey:
|
||||
description: 角色代码
|
||||
type: string
|
||||
roleName:
|
||||
description: 角色名称
|
||||
type: string
|
||||
roleSort:
|
||||
description: 角色排序
|
||||
type: integer
|
||||
status:
|
||||
description: 状态
|
||||
type: string
|
||||
sysDept:
|
||||
items:
|
||||
$ref: '#/definitions/models.SysDept'
|
||||
type: array
|
||||
sysMenu:
|
||||
items:
|
||||
$ref: '#/definitions/models.SysMenu'
|
||||
type: array
|
||||
updateBy:
|
||||
type: integer
|
||||
type: object
|
||||
dto.SysUserInsertReq:
|
||||
properties:
|
||||
avatar:
|
||||
type: string
|
||||
@@ -432,13 +624,39 @@ definitions:
|
||||
type: integer
|
||||
username:
|
||||
type: string
|
||||
required:
|
||||
- deptId
|
||||
- email
|
||||
- nickName
|
||||
- phone
|
||||
- status
|
||||
- username
|
||||
type: object
|
||||
dto.SysUserUpdateReq:
|
||||
properties:
|
||||
avatar:
|
||||
type: string
|
||||
createBy:
|
||||
type: integer
|
||||
deptId:
|
||||
type: integer
|
||||
email:
|
||||
type: string
|
||||
nickName:
|
||||
type: string
|
||||
phone:
|
||||
type: string
|
||||
postId:
|
||||
type: integer
|
||||
remark:
|
||||
type: string
|
||||
roleId:
|
||||
type: integer
|
||||
sex:
|
||||
type: string
|
||||
status:
|
||||
default: "1"
|
||||
type: string
|
||||
updateBy:
|
||||
type: integer
|
||||
userId:
|
||||
description: 用户ID
|
||||
type: integer
|
||||
username:
|
||||
type: string
|
||||
type: object
|
||||
dto.UpdateStatusReq:
|
||||
properties:
|
||||
@@ -464,9 +682,6 @@ definitions:
|
||||
userId:
|
||||
description: 用户ID
|
||||
type: integer
|
||||
required:
|
||||
- status
|
||||
- userId
|
||||
type: object
|
||||
handler.Login:
|
||||
properties:
|
||||
@@ -524,7 +739,7 @@ definitions:
|
||||
id:
|
||||
type: integer
|
||||
isFrontend:
|
||||
type: integer
|
||||
type: string
|
||||
remark:
|
||||
type: string
|
||||
updateBy:
|
||||
@@ -945,7 +1160,7 @@ paths:
|
||||
name: data
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/dto.SysDeptById'
|
||||
$ref: '#/definitions/dto.SysDeptDeleteReq'
|
||||
responses:
|
||||
"200":
|
||||
description: '{"code": -1, "message": "删除失败"}'
|
||||
@@ -991,7 +1206,7 @@ paths:
|
||||
name: data
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/dto.SysDeptControl'
|
||||
$ref: '#/definitions/dto.SysDeptInsertReq'
|
||||
responses:
|
||||
"200":
|
||||
description: '{"code": -1, "message": "添加失败"}'
|
||||
@@ -1010,10 +1225,6 @@ paths:
|
||||
in: path
|
||||
name: deptId
|
||||
type: string
|
||||
- description: position
|
||||
in: query
|
||||
name: position
|
||||
type: string
|
||||
responses:
|
||||
"200":
|
||||
description: '{"code": 200, "data": [...]}'
|
||||
@@ -1021,7 +1232,7 @@ paths:
|
||||
$ref: '#/definitions/response.Response'
|
||||
security:
|
||||
- Bearer: []
|
||||
summary: 部门列表数据
|
||||
summary: 获取部门数据
|
||||
tags:
|
||||
- 部门
|
||||
put:
|
||||
@@ -1039,7 +1250,7 @@ paths:
|
||||
name: data
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/dto.SysDeptControl'
|
||||
$ref: '#/definitions/dto.SysDeptUpdateReq'
|
||||
responses:
|
||||
"200":
|
||||
description: '{"code": -1, "message": "添加失败"}'
|
||||
@@ -1061,9 +1272,16 @@ paths:
|
||||
type: integer
|
||||
responses:
|
||||
"200":
|
||||
description: '{"code": -1, "message": "删除失败"}'
|
||||
description: '{"code": 200, "data": [...]}'
|
||||
schema:
|
||||
type: string
|
||||
allOf:
|
||||
- $ref: '#/definitions/response.Response'
|
||||
- properties:
|
||||
data:
|
||||
items:
|
||||
$ref: '#/definitions/dto.SysDictDataGetAllResp'
|
||||
type: array
|
||||
type: object
|
||||
security:
|
||||
- Bearer: []
|
||||
summary: 数据字典根据key获取
|
||||
@@ -1078,12 +1296,12 @@ paths:
|
||||
name: dictCode
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/dto.SysDictDataById'
|
||||
$ref: '#/definitions/dto.SysDictDataDeleteReq'
|
||||
responses:
|
||||
"200":
|
||||
description: '{"code": -1, "message": "删除失败"}'
|
||||
description: '{"code": 200, "message": "删除成功"}'
|
||||
schema:
|
||||
type: string
|
||||
$ref: '#/definitions/response.Response'
|
||||
security:
|
||||
- Bearer: []
|
||||
summary: 删除字典数据
|
||||
@@ -1132,12 +1350,12 @@ paths:
|
||||
name: data
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/dto.SysDictDataControl'
|
||||
$ref: '#/definitions/dto.SysDictDataInsertReq'
|
||||
responses:
|
||||
"200":
|
||||
description: '{"code": -1, "message": "添加失败"}'
|
||||
description: '{"code": 200, "message": "添加成功"}'
|
||||
schema:
|
||||
type: string
|
||||
$ref: '#/definitions/response.Response'
|
||||
security:
|
||||
- Bearer: []
|
||||
summary: 添加字典数据
|
||||
@@ -1172,12 +1390,12 @@ paths:
|
||||
name: data
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/dto.SysDictDataControl'
|
||||
$ref: '#/definitions/dto.SysDictDataUpdateReq'
|
||||
responses:
|
||||
"200":
|
||||
description: '{"code": -1, "message": "添加失败"}'
|
||||
description: '{"code": 200, "message": "修改成功"}'
|
||||
schema:
|
||||
type: string
|
||||
$ref: '#/definitions/response.Response'
|
||||
security:
|
||||
- Bearer: []
|
||||
summary: 修改字典数据
|
||||
@@ -1187,16 +1405,17 @@ paths:
|
||||
delete:
|
||||
description: 删除数据
|
||||
parameters:
|
||||
- description: dictId
|
||||
in: path
|
||||
name: dictId
|
||||
- description: body
|
||||
in: body
|
||||
name: dictCode
|
||||
required: true
|
||||
type: integer
|
||||
schema:
|
||||
$ref: '#/definitions/dto.SysDictTypeDeleteReq'
|
||||
responses:
|
||||
"200":
|
||||
description: '{"code": -1, "message": "删除失败"}'
|
||||
description: '{"code": 200, "data": [...]}'
|
||||
schema:
|
||||
type: string
|
||||
$ref: '#/definitions/response.Response'
|
||||
security:
|
||||
- Bearer: []
|
||||
summary: 删除字典类型
|
||||
@@ -1245,12 +1464,12 @@ paths:
|
||||
name: data
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/dto.SysDictTypeControl'
|
||||
$ref: '#/definitions/dto.SysDictTypeInsertReq'
|
||||
responses:
|
||||
"200":
|
||||
description: '{"code": -1, "message": "添加失败"}'
|
||||
description: '{"code": 200, "data": [...]}'
|
||||
schema:
|
||||
type: string
|
||||
$ref: '#/definitions/response.Response'
|
||||
security:
|
||||
- Bearer: []
|
||||
summary: 添加字典类型
|
||||
@@ -1311,12 +1530,12 @@ paths:
|
||||
name: data
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/dto.SysDictTypeControl'
|
||||
$ref: '#/definitions/dto.SysDictTypeUpdateReq'
|
||||
responses:
|
||||
"200":
|
||||
description: '{"code": -1, "message": "添加失败"}'
|
||||
description: '{"code": 200, "data": [...]}'
|
||||
schema:
|
||||
type: string
|
||||
$ref: '#/definitions/response.Response'
|
||||
security:
|
||||
- Bearer: []
|
||||
summary: 修改字典类型
|
||||
@@ -1372,7 +1591,7 @@ paths:
|
||||
name: data
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/dto.SysMenuById'
|
||||
$ref: '#/definitions/dto.SysMenuDeleteReq'
|
||||
responses:
|
||||
"200":
|
||||
description: '{"code": 200, "data": [...]}'
|
||||
@@ -1386,10 +1605,6 @@ paths:
|
||||
get:
|
||||
description: 获取JSON
|
||||
parameters:
|
||||
- description: menuName
|
||||
in: query
|
||||
name: menuName
|
||||
type: string
|
||||
- description: menuName
|
||||
in: query
|
||||
name: menuName
|
||||
@@ -1414,7 +1629,7 @@ paths:
|
||||
name: data
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/dto.SysMenuControl'
|
||||
$ref: '#/definitions/dto.SysMenuInsertReq'
|
||||
responses:
|
||||
"200":
|
||||
description: '{"code": 200, "data": [...]}'
|
||||
@@ -1458,7 +1673,7 @@ paths:
|
||||
name: data
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/dto.SysMenuControl'
|
||||
$ref: '#/definitions/dto.SysMenuUpdateReq'
|
||||
responses:
|
||||
"200":
|
||||
description: '{"code": 200, "data": [...]}'
|
||||
@@ -1515,13 +1730,9 @@ paths:
|
||||
$ref: '#/definitions/dto.SysPostDeleteReq'
|
||||
responses:
|
||||
"200":
|
||||
description: '{"code": 200, "message": "删除成功"}'
|
||||
description: '{"code": 200, "data": [...]}'
|
||||
schema:
|
||||
type: string
|
||||
"500":
|
||||
description: '{"code": 500, "message": "删除失败"}'
|
||||
schema:
|
||||
type: string
|
||||
$ref: '#/definitions/response.Response'
|
||||
security:
|
||||
- Bearer: []
|
||||
summary: 删除岗位
|
||||
@@ -1569,9 +1780,9 @@ paths:
|
||||
$ref: '#/definitions/dto.SysPostInsertReq'
|
||||
responses:
|
||||
"200":
|
||||
description: '{"code": -1, "message": "添加失败"}'
|
||||
description: '{"code": 200, "data": [...]}'
|
||||
schema:
|
||||
type: string
|
||||
$ref: '#/definitions/response.Response'
|
||||
security:
|
||||
- Bearer: []
|
||||
summary: 添加岗位
|
||||
@@ -1591,9 +1802,9 @@ paths:
|
||||
$ref: '#/definitions/dto.SysPostUpdateReq'
|
||||
responses:
|
||||
"200":
|
||||
description: '{"code": -1, "message": "添加失败"}'
|
||||
description: '{"code": 200, "data": [...]}'
|
||||
schema:
|
||||
type: string
|
||||
$ref: '#/definitions/response.Response'
|
||||
security:
|
||||
- Bearer: []
|
||||
summary: 修改岗位
|
||||
@@ -1653,7 +1864,7 @@ paths:
|
||||
name: data
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/dto.SysRoleById'
|
||||
$ref: '#/definitions/dto.SysRoleDeleteReq'
|
||||
responses:
|
||||
"200":
|
||||
description: '{"code": 200, "data": [...]}'
|
||||
@@ -1707,7 +1918,7 @@ paths:
|
||||
name: data
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/dto.SysRoleControl'
|
||||
$ref: '#/definitions/dto.SysRoleInsertReq'
|
||||
responses:
|
||||
"200":
|
||||
description: '{"code": 200, "data": [...]}'
|
||||
@@ -1768,7 +1979,7 @@ paths:
|
||||
name: data
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/dto.SysRoleControl'
|
||||
$ref: '#/definitions/dto.SysRoleUpdateReq'
|
||||
responses:
|
||||
"200":
|
||||
description: '{"code": 200, "data": [...]}'
|
||||
@@ -1840,13 +2051,12 @@ paths:
|
||||
delete:
|
||||
description: 删除接口管理
|
||||
parameters:
|
||||
- description: ids
|
||||
- description: body
|
||||
in: body
|
||||
name: ids
|
||||
name: data
|
||||
required: true
|
||||
schema:
|
||||
items:
|
||||
type: integer
|
||||
type: array
|
||||
$ref: '#/definitions/dto.SysApiDeleteReq'
|
||||
responses:
|
||||
"200":
|
||||
description: '{"code": 200, "message": "删除成功"}'
|
||||
@@ -1939,7 +2149,7 @@ paths:
|
||||
name: data
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/dto.SysApiControl'
|
||||
$ref: '#/definitions/dto.SysApiUpdateReq'
|
||||
responses:
|
||||
"200":
|
||||
description: '{"code": 200, "message": "修改成功"}'
|
||||
@@ -2094,7 +2304,7 @@ paths:
|
||||
name: data
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/dto.SysLoginLogById'
|
||||
$ref: '#/definitions/dto.SysLoginLogDeleteReq'
|
||||
responses:
|
||||
"200":
|
||||
description: '{"code": 200, "data": [...]}'
|
||||
@@ -2169,7 +2379,7 @@ paths:
|
||||
name: data
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/dto.SysOperaLogById'
|
||||
$ref: '#/definitions/dto.SysOperaLogDeleteReq'
|
||||
responses:
|
||||
"200":
|
||||
description: '{"code": 200, "data": [...]}'
|
||||
@@ -2271,7 +2481,7 @@ paths:
|
||||
name: data
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/dto.SysUserControl'
|
||||
$ref: '#/definitions/dto.SysUserInsertReq'
|
||||
responses:
|
||||
"200":
|
||||
description: '{"code": 200, "data": [...]}'
|
||||
@@ -2329,7 +2539,7 @@ paths:
|
||||
name: data
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/definitions/dto.SysUserControl'
|
||||
$ref: '#/definitions/dto.SysUserUpdateReq'
|
||||
responses:
|
||||
"200":
|
||||
description: '{"code": 200, "data": [...]}'
|
||||
@@ -2515,7 +2725,7 @@ paths:
|
||||
$ref: '#/definitions/response.Response'
|
||||
security:
|
||||
- Bearer: []
|
||||
summary: 重置密码
|
||||
summary: 修改密码
|
||||
tags:
|
||||
- 用户
|
||||
/api/v1/user/status:
|
||||
|
||||
Reference in new issue
Block a user