文档修复
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
|
||||
// This file was generated by swaggo/swag at
|
||||
// 2019-11-20 16:59:15.3568689 +0800 CST m=+0.056920101
|
||||
// 2019-12-13 11:22:41.4366202 +0800 CST m=+0.062830801
|
||||
|
||||
package docs
|
||||
|
||||
@@ -90,7 +90,7 @@ var doc = `{
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/dbModel.SysApi"
|
||||
"$ref": "#/definitions/sysModel.SysApi"
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -209,45 +209,6 @@ var doc = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"/api/setAuthAndApi": {
|
||||
"post": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"SysApi"
|
||||
],
|
||||
"summary": "创建api和角色关系",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "创建api和角色关系",
|
||||
"name": "data",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/api.AuthAndPathIn"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/api/updataApi": {
|
||||
"post": {
|
||||
"security": [
|
||||
@@ -365,45 +326,6 @@ var doc = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"/authority/getAuthAndApi": {
|
||||
"post": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"authority"
|
||||
],
|
||||
"summary": "获取本角色所有有权限的apiId",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "获取本角色所有有权限的apiId",
|
||||
"name": "data",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/api.GetAuthorityId"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/authority/getAuthorityList": {
|
||||
"post": {
|
||||
"security": [
|
||||
@@ -505,6 +427,84 @@ var doc = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"/casbin/casbinPUpdata": {
|
||||
"post": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"casbin"
|
||||
],
|
||||
"summary": "更改角色api权限",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "更改角色api权限",
|
||||
"name": "data",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/api.CreateAuthorityPatams"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/casbin/getPolicyPathByAuthorityId": {
|
||||
"post": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"casbin"
|
||||
],
|
||||
"summary": "获取权限列表",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "获取权限列表",
|
||||
"name": "data",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/api.CreateAuthorityPatams"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/fileUploadAndDownload/deleteFile": {
|
||||
"post": {
|
||||
"security": [
|
||||
@@ -516,7 +516,7 @@ var doc = `{
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"FileUploadAndDownload"
|
||||
"ExaFileUploadAndDownload"
|
||||
],
|
||||
"summary": "删除文件",
|
||||
"parameters": [
|
||||
@@ -527,7 +527,7 @@ var doc = `{
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/dbModel.FileUploadAndDownload"
|
||||
"$ref": "#/definitions/dbModel.ExaFileUploadAndDownload"
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -555,7 +555,7 @@ var doc = `{
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"FileUploadAndDownload"
|
||||
"ExaFileUploadAndDownload"
|
||||
],
|
||||
"summary": "分页文件列表",
|
||||
"parameters": [
|
||||
@@ -594,7 +594,7 @@ var doc = `{
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"FileUploadAndDownload"
|
||||
"ExaFileUploadAndDownload"
|
||||
],
|
||||
"summary": "上传文件示例",
|
||||
"parameters": [
|
||||
@@ -641,7 +641,7 @@ var doc = `{
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/dbModel.SysBaseMenu"
|
||||
"$ref": "#/definitions/sysModel.SysBaseMenu"
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -908,7 +908,7 @@ var doc = `{
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/dbModel.SysBaseMenu"
|
||||
"$ref": "#/definitions/sysModel.SysBaseMenu"
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -933,7 +933,7 @@ var doc = `{
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"User"
|
||||
"SysUser"
|
||||
],
|
||||
"summary": "用户修改密码",
|
||||
"parameters": [
|
||||
@@ -972,7 +972,7 @@ var doc = `{
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"User"
|
||||
"SysUser"
|
||||
],
|
||||
"summary": "分页获取用户列表",
|
||||
"parameters": [
|
||||
@@ -1011,7 +1011,7 @@ var doc = `{
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"User"
|
||||
"SysUser"
|
||||
],
|
||||
"summary": "设置用户权限",
|
||||
"parameters": [
|
||||
@@ -1050,7 +1050,7 @@ var doc = `{
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"User"
|
||||
"SysUser"
|
||||
],
|
||||
"summary": "用户上传头像",
|
||||
"parameters": [
|
||||
@@ -1096,7 +1096,7 @@ var doc = `{
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/dbModel.Workflow"
|
||||
"$ref": "#/definitions/sysModel.SysWorkflow"
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -1121,25 +1121,11 @@ var doc = `{
|
||||
"menus": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/dbModel.SysBaseMenu"
|
||||
"$ref": "#/definitions/sysModel.SysBaseMenu"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"api.AuthAndPathIn": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiIds": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"authorityId": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"api.AuthorityIdInfo": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -1192,14 +1178,6 @@ var doc = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"api.GetAuthorityId": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"authorityId": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"api.GetById": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -1238,7 +1216,35 @@ var doc = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"dbModel.SysApi": {
|
||||
"dbModel.ExaFileUploadAndDownload": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"key": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"tag": {
|
||||
"type": "string"
|
||||
},
|
||||
"url": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"modelInterface.PageInfo": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"page": {
|
||||
"type": "integer"
|
||||
},
|
||||
"pageSize": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"sysModel.SysApi": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"description": {
|
||||
@@ -1252,13 +1258,13 @@ var doc = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"dbModel.SysBaseMenu": {
|
||||
"sysModel.SysBaseMenu": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"children": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/dbModel.SysBaseMenu"
|
||||
"$ref": "#/definitions/sysModel.SysBaseMenu"
|
||||
}
|
||||
},
|
||||
"component": {
|
||||
@@ -1282,29 +1288,15 @@ var doc = `{
|
||||
"path": {
|
||||
"type": "string"
|
||||
},
|
||||
"sort": {
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"dbModel.FileUploadAndDownload": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"key": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"tag": {
|
||||
"type": "string"
|
||||
},
|
||||
"url": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"dbModel.Workflow": {
|
||||
"sysModel.SysWorkflow": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"workflowDescription": {
|
||||
@@ -1323,12 +1315,12 @@ var doc = `{
|
||||
"description": "工作流步骤",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/dbModel.WorkflowStepInfo"
|
||||
"$ref": "#/definitions/sysModel.SysWorkflowStepInfo"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"dbModel.WorkflowStepInfo": {
|
||||
"sysModel.SysWorkflowStepInfo": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"isEnd": {
|
||||
@@ -1350,16 +1342,9 @@ var doc = `{
|
||||
"stepNo": {
|
||||
"description": "步骤id (第几步)",
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
},
|
||||
"modelInterface.PageInfo": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"page": {
|
||||
"type": "integer"
|
||||
},
|
||||
"pageSize": {
|
||||
"workflowID": {
|
||||
"description": "所属工作流ID",
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user