角色增加数据资源功能 增加数据资源关联返回(go代码完成 api开发完成 数据库配置完成 前端实现逻辑编写中)
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-12-20 11:36:51.4275267 +0800 CST m=+0.082812601
|
||||
// 2020-01-06 17:53:22.2207663 +0800 CST m=+0.069844001
|
||||
|
||||
package docs
|
||||
|
||||
@@ -365,6 +365,45 @@ var doc = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"/authority/setDataAuthority": {
|
||||
"post": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"authority"
|
||||
],
|
||||
"summary": "设置角色资源权限",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "设置角色资源权限",
|
||||
"name": "data",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/sysModel.SysAuthority"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"success\":true,\"data\":{},\"msg\":\"设置成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/base/login": {
|
||||
"post": {
|
||||
"produces": [
|
||||
@@ -616,6 +655,33 @@ var doc = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"/jwt/jsonInBlacklist": {
|
||||
"post": {
|
||||
"security": [
|
||||
{
|
||||
"ApiKeyAuth": []
|
||||
}
|
||||
],
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"jwt"
|
||||
],
|
||||
"summary": "jwt加入黑名单",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "{\"success\":true,\"data\":{},\"msg\":\"拉黑成功\"}",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/menu/addBaseMenu": {
|
||||
"post": {
|
||||
"security": [
|
||||
@@ -1266,6 +1332,21 @@ var doc = `{
|
||||
},
|
||||
"authorityName": {
|
||||
"type": "string"
|
||||
},
|
||||
"children": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/sysModel.SysAuthority"
|
||||
}
|
||||
},
|
||||
"dataAuthorityId": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/sysModel.SysAuthority"
|
||||
}
|
||||
},
|
||||
"parentId": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user