补充遗漏的json type

This commit is contained in:
蒋吉兆
2021-08-16 22:44:35 +08:00
parent 6ee60e3f95
commit a85ae1a46a
6 changed files with 199 additions and 227 deletions

View File

@@ -1554,7 +1554,9 @@ var doc = `{
}
],
"responses": {
"200": {}
"200": {
"description": ""
}
}
}
},
@@ -1587,7 +1589,9 @@ var doc = `{
}
],
"responses": {
"200": {}
"200": {
"description": ""
}
}
}
},
@@ -1944,44 +1948,6 @@ var doc = `{
}
}
},
"/menu/GetMenuAuthority": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"AuthorityMenu"
],
"summary": "获取指定角色menu",
"parameters": [
{
"description": "角色ID",
"name": "data",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/request.GetAuthorityId"
}
}
],
"responses": {
"200": {
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
"schema": {
"type": "string"
}
}
}
}
},
"/menu/addBaseMenu": {
"post": {
"security": [
@@ -2204,6 +2170,44 @@ var doc = `{
}
}
},
"/menu/getMenuAuthority": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"AuthorityMenu"
],
"summary": "获取指定角色menu",
"parameters": [
{
"description": "角色ID",
"name": "data",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/request.GetAuthorityId"
}
}
],
"responses": {
"200": {
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
"schema": {
"type": "string"
}
}
}
}
},
"/menu/getMenuList": {
"post": {
"security": [

View File

@@ -1538,7 +1538,9 @@
}
],
"responses": {
"200": {}
"200": {
"description": ""
}
}
}
},
@@ -1571,7 +1573,9 @@
}
],
"responses": {
"200": {}
"200": {
"description": ""
}
}
}
},
@@ -1928,44 +1932,6 @@
}
}
},
"/menu/GetMenuAuthority": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"AuthorityMenu"
],
"summary": "获取指定角色menu",
"parameters": [
{
"description": "角色ID",
"name": "data",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/request.GetAuthorityId"
}
}
],
"responses": {
"200": {
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
"schema": {
"type": "string"
}
}
}
}
},
"/menu/addBaseMenu": {
"post": {
"security": [
@@ -2188,6 +2154,44 @@
}
}
},
"/menu/getMenuAuthority": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"AuthorityMenu"
],
"summary": "获取指定角色menu",
"parameters": [
{
"description": "角色ID",
"name": "data",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/request.GetAuthorityId"
}
}
],
"responses": {
"200": {
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
"schema": {
"type": "string"
}
}
}
}
},
"/menu/getMenuList": {
"post": {
"security": [

View File

@@ -1857,7 +1857,8 @@ paths:
produces:
- application/json
responses:
"200": {}
"200":
description: ""
security:
- ApiKeyAuth: []
summary: 下载模板
@@ -1877,7 +1878,8 @@ paths:
produces:
- application/octet-stream
responses:
"200": {}
"200":
description: ""
security:
- ApiKeyAuth: []
summary: 导出Excel
@@ -2098,29 +2100,6 @@ paths:
summary: jwt加入黑名单
tags:
- Jwt
/menu/GetMenuAuthority:
post:
consumes:
- application/json
parameters:
- description: 角色ID
in: body
name: data
required: true
schema:
$ref: '#/definitions/request.GetAuthorityId'
produces:
- application/json
responses:
"200":
description: '{"success":true,"data":{},"msg":"获取成功"}'
schema:
type: string
security:
- ApiKeyAuth: []
summary: 获取指定角色menu
tags:
- AuthorityMenu
/menu/addBaseMenu:
post:
consumes:
@@ -2255,6 +2234,29 @@ paths:
summary: 获取用户动态路由
tags:
- AuthorityMenu
/menu/getMenuAuthority:
post:
consumes:
- application/json
parameters:
- description: 角色ID
in: body
name: data
required: true
schema:
$ref: '#/definitions/request.GetAuthorityId'
produces:
- application/json
responses:
"200":
description: '{"success":true,"data":{},"msg":"获取成功"}'
schema:
type: string
security:
- ApiKeyAuth: []
summary: 获取指定角色menu
tags:
- AuthorityMenu
/menu/getMenuList:
post:
consumes: