Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
nizhengjia888
gin-vue-admin
提交
bec140ae
G
gin-vue-admin
项目概览
nizhengjia888
/
gin-vue-admin
与 Fork 源项目一致
Fork自
FLIPPED-AURORA / gin-vue-admin
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gin-vue-admin
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
bec140ae
编写于
9月 21, 2019
作者:
Mr.奇淼(
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
文档修改
上级
0e186679
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
1144 addition
and
4 deletion
+1144
-4
QMPlusServer/docs/docs.go
QMPlusServer/docs/docs.go
+437
-2
QMPlusServer/docs/swagger.json
QMPlusServer/docs/swagger.json
+436
-1
QMPlusServer/docs/swagger.yaml
QMPlusServer/docs/swagger.yaml
+271
-1
未找到文件。
QMPlusServer/docs/docs.go
浏览文件 @
bec140ae
// GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
// This file was generated by swaggo/swag at
// 2019-09-
08 16:14:12.6903257 +0800 CST m=+0.1065633
01
// 2019-09-
21 22:57:49.3172136 +0800 CST m=+0.0488452
01
package
docs
...
...
@@ -104,6 +104,84 @@ var doc = `{
}
}
},
"/api/getApiList": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"api"
],
"summary": "分页获取角色列表",
"parameters": [
{
"description": "分页获取用户列表",
"name": "data",
"in": "body",
"required": true,
"schema": {
"type": "object",
"$ref": "#/definitions/modelInterface.PageInfo"
}
}
],
"responses": {
"200": {
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
"schema": {
"type": "string"
}
}
}
}
},
"/api/setAuthAndPath": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Api"
],
"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"
}
}
}
}
},
"/authority/createAuthority": {
"post": {
"security": [
...
...
@@ -182,6 +260,45 @@ var doc = `{
}
}
},
"/authority/getAuthorityList": {
"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/modelInterface.PageInfo"
}
}
],
"responses": {
"200": {
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
"schema": {
"type": "string"
}
}
}
}
},
"/base/login": {
"post": {
"produces": [
...
...
@@ -244,6 +361,234 @@ var doc = `{
}
}
},
"/menu/addBaseMenu": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"menu"
],
"summary": "分页获取基础menu列表",
"parameters": [
{
"description": "分页获取基础menu列表",
"name": "data",
"in": "body",
"required": true,
"schema": {
"type": "object",
"$ref": "#/definitions/modelInterface.PageInfo"
}
}
],
"responses": {
"200": {
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
"schema": {
"type": "string"
}
}
}
}
},
"/menu/addMenuAuthority": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"authorityAndMenu"
],
"summary": "获取指定角色menu",
"parameters": [
{
"description": "增加menu和角色关联关系",
"name": "data",
"in": "body",
"required": true,
"schema": {
"type": "object",
"$ref": "#/definitions/api.AuthorityIdInfo"
}
}
],
"responses": {
"200": {
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
"schema": {
"type": "string"
}
}
}
}
},
"/menu/deleteBaseMenu": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"menu"
],
"summary": "获取指定角色menu",
"parameters": [
{
"description": "删除菜单",
"name": "data",
"in": "body",
"required": true,
"schema": {
"type": "object",
"$ref": "#/definitions/api.IdInfo"
}
}
],
"responses": {
"200": {
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
"schema": {
"type": "string"
}
}
}
}
},
"/menu/getBaseMenuTree": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"produces": [
"application/json"
],
"tags": [
"authorityAndMenu"
],
"summary": "获取用户动态路由",
"parameters": [
{
"description": "可以什么都不填",
"name": "data",
"in": "body",
"required": true,
"schema": {
"type": "object",
"$ref": "#/definitions/api.RegistAndLoginStuct"
}
}
],
"responses": {
"200": {
"description": "{\"success\":true,\"data\":{},\"msg\":\"返回成功\"}",
"schema": {
"type": "string"
}
}
}
}
},
"/menu/getMenu": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"produces": [
"application/json"
],
"tags": [
"authorityAndMenu"
],
"summary": "获取用户动态路由",
"parameters": [
{
"description": "可以什么都不填",
"name": "data",
"in": "body",
"required": true,
"schema": {
"type": "object",
"$ref": "#/definitions/api.RegistAndLoginStuct"
}
}
],
"responses": {
"200": {
"description": "{\"success\":true,\"data\":{},\"msg\":\"返回成功\"}",
"schema": {
"type": "string"
}
}
}
}
},
"/menu/getMenuList": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"menu"
],
"summary": "分页获取基础menu列表",
"parameters": [
{
"description": "分页获取基础menu列表",
"name": "data",
"in": "body",
"required": true,
"schema": {
"type": "object",
"$ref": "#/definitions/modelInterface.PageInfo"
}
}
],
"responses": {
"200": {
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
"schema": {
"type": "string"
}
}
}
}
},
"/user/changePassword": {
"post": {
"security": [
...
...
@@ -364,6 +709,42 @@ var doc = `{
}
},
"definitions": {
"api.AddMenuAuthorityInfo": {
"type": "object",
"properties": {
"authorityId": {
"type": "string"
},
"menus": {
"type": "array",
"items": {
"$ref": "#/definitions/dbModel.BaseMenu"
}
}
}
},
"api.AuthAndPathIn": {
"type": "object",
"properties": {
"apis": {
"type": "array",
"items": {
"$ref": "#/definitions/dbModel.Api"
}
},
"authorityId": {
"type": "string"
}
}
},
"api.AuthorityIdInfo": {
"type": "object",
"properties": {
"authorityId": {
"type": "string"
}
}
},
"api.ChangePasswordStutrc": {
"type": "object",
"properties": {
...
...
@@ -393,7 +774,7 @@ var doc = `{
"type": "object",
"properties": {
"authorityId": {
"type": "
integer
"
"type": "
string
"
},
"authorityName": {
"type": "string"
...
...
@@ -411,6 +792,14 @@ var doc = `{
}
}
},
"api.IdInfo": {
"type": "object",
"properties": {
"id": {
"type": "number"
}
}
},
"api.RegistAndLoginStuct": {
"type": "object",
"properties": {
...
...
@@ -422,6 +811,52 @@ var doc = `{
}
}
},
"dbModel.Api": {
"type": "object",
"properties": {
"description": {
"type": "string"
},
"path": {
"type": "string"
}
}
},
"dbModel.BaseMenu": {
"type": "object",
"properties": {
"children": {
"type": "array",
"items": {
"$ref": "#/definitions/dbModel.BaseMenu"
}
},
"component": {
"type": "string"
},
"hidden": {
"type": "boolean"
},
"icon": {
"type": "string"
},
"name": {
"type": "string"
},
"nickName": {
"type": "string"
},
"parentId": {
"type": "string"
},
"path": {
"type": "string"
},
"title": {
"type": "string"
}
}
},
"modelInterface.PageInfo": {
"type": "object",
"properties": {
...
...
QMPlusServer/docs/swagger.json
浏览文件 @
bec140ae
...
...
@@ -87,6 +87,84 @@
}
}
},
"/api/getApiList"
:
{
"post"
:
{
"security"
:
[
{
"ApiKeyAuth"
:
[]
}
],
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"tags"
:
[
"api"
],
"summary"
:
"分页获取角色列表"
,
"parameters"
:
[
{
"description"
:
"分页获取用户列表"
,
"name"
:
"data"
,
"in"
:
"body"
,
"required"
:
true
,
"schema"
:
{
"type"
:
"object"
,
"$ref"
:
"#/definitions/modelInterface.PageInfo"
}
}
],
"responses"
:
{
"200"
:
{
"description"
:
"{
\"
success
\"
:true,
\"
data
\"
:{},
\"
msg
\"
:
\"
获取成功
\"
}"
,
"schema"
:
{
"type"
:
"string"
}
}
}
}
},
"/api/setAuthAndPath"
:
{
"post"
:
{
"security"
:
[
{
"ApiKeyAuth"
:
[]
}
],
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"tags"
:
[
"Api"
],
"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"
}
}
}
}
},
"/authority/createAuthority"
:
{
"post"
:
{
"security"
:
[
...
...
@@ -165,6 +243,45 @@
}
}
},
"/authority/getAuthorityList"
:
{
"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/modelInterface.PageInfo"
}
}
],
"responses"
:
{
"200"
:
{
"description"
:
"{
\"
success
\"
:true,
\"
data
\"
:{},
\"
msg
\"
:
\"
获取成功
\"
}"
,
"schema"
:
{
"type"
:
"string"
}
}
}
}
},
"/base/login"
:
{
"post"
:
{
"produces"
:
[
...
...
@@ -227,6 +344,234 @@
}
}
},
"/menu/addBaseMenu"
:
{
"post"
:
{
"security"
:
[
{
"ApiKeyAuth"
:
[]
}
],
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"tags"
:
[
"menu"
],
"summary"
:
"分页获取基础menu列表"
,
"parameters"
:
[
{
"description"
:
"分页获取基础menu列表"
,
"name"
:
"data"
,
"in"
:
"body"
,
"required"
:
true
,
"schema"
:
{
"type"
:
"object"
,
"$ref"
:
"#/definitions/modelInterface.PageInfo"
}
}
],
"responses"
:
{
"200"
:
{
"description"
:
"{
\"
success
\"
:true,
\"
data
\"
:{},
\"
msg
\"
:
\"
获取成功
\"
}"
,
"schema"
:
{
"type"
:
"string"
}
}
}
}
},
"/menu/addMenuAuthority"
:
{
"post"
:
{
"security"
:
[
{
"ApiKeyAuth"
:
[]
}
],
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"tags"
:
[
"authorityAndMenu"
],
"summary"
:
"获取指定角色menu"
,
"parameters"
:
[
{
"description"
:
"增加menu和角色关联关系"
,
"name"
:
"data"
,
"in"
:
"body"
,
"required"
:
true
,
"schema"
:
{
"type"
:
"object"
,
"$ref"
:
"#/definitions/api.AuthorityIdInfo"
}
}
],
"responses"
:
{
"200"
:
{
"description"
:
"{
\"
success
\"
:true,
\"
data
\"
:{},
\"
msg
\"
:
\"
获取成功
\"
}"
,
"schema"
:
{
"type"
:
"string"
}
}
}
}
},
"/menu/deleteBaseMenu"
:
{
"post"
:
{
"security"
:
[
{
"ApiKeyAuth"
:
[]
}
],
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"tags"
:
[
"menu"
],
"summary"
:
"获取指定角色menu"
,
"parameters"
:
[
{
"description"
:
"删除菜单"
,
"name"
:
"data"
,
"in"
:
"body"
,
"required"
:
true
,
"schema"
:
{
"type"
:
"object"
,
"$ref"
:
"#/definitions/api.IdInfo"
}
}
],
"responses"
:
{
"200"
:
{
"description"
:
"{
\"
success
\"
:true,
\"
data
\"
:{},
\"
msg
\"
:
\"
获取成功
\"
}"
,
"schema"
:
{
"type"
:
"string"
}
}
}
}
},
"/menu/getBaseMenuTree"
:
{
"post"
:
{
"security"
:
[
{
"ApiKeyAuth"
:
[]
}
],
"produces"
:
[
"application/json"
],
"tags"
:
[
"authorityAndMenu"
],
"summary"
:
"获取用户动态路由"
,
"parameters"
:
[
{
"description"
:
"可以什么都不填"
,
"name"
:
"data"
,
"in"
:
"body"
,
"required"
:
true
,
"schema"
:
{
"type"
:
"object"
,
"$ref"
:
"#/definitions/api.RegistAndLoginStuct"
}
}
],
"responses"
:
{
"200"
:
{
"description"
:
"{
\"
success
\"
:true,
\"
data
\"
:{},
\"
msg
\"
:
\"
返回成功
\"
}"
,
"schema"
:
{
"type"
:
"string"
}
}
}
}
},
"/menu/getMenu"
:
{
"post"
:
{
"security"
:
[
{
"ApiKeyAuth"
:
[]
}
],
"produces"
:
[
"application/json"
],
"tags"
:
[
"authorityAndMenu"
],
"summary"
:
"获取用户动态路由"
,
"parameters"
:
[
{
"description"
:
"可以什么都不填"
,
"name"
:
"data"
,
"in"
:
"body"
,
"required"
:
true
,
"schema"
:
{
"type"
:
"object"
,
"$ref"
:
"#/definitions/api.RegistAndLoginStuct"
}
}
],
"responses"
:
{
"200"
:
{
"description"
:
"{
\"
success
\"
:true,
\"
data
\"
:{},
\"
msg
\"
:
\"
返回成功
\"
}"
,
"schema"
:
{
"type"
:
"string"
}
}
}
}
},
"/menu/getMenuList"
:
{
"post"
:
{
"security"
:
[
{
"ApiKeyAuth"
:
[]
}
],
"consumes"
:
[
"application/json"
],
"produces"
:
[
"application/json"
],
"tags"
:
[
"menu"
],
"summary"
:
"分页获取基础menu列表"
,
"parameters"
:
[
{
"description"
:
"分页获取基础menu列表"
,
"name"
:
"data"
,
"in"
:
"body"
,
"required"
:
true
,
"schema"
:
{
"type"
:
"object"
,
"$ref"
:
"#/definitions/modelInterface.PageInfo"
}
}
],
"responses"
:
{
"200"
:
{
"description"
:
"{
\"
success
\"
:true,
\"
data
\"
:{},
\"
msg
\"
:
\"
获取成功
\"
}"
,
"schema"
:
{
"type"
:
"string"
}
}
}
}
},
"/user/changePassword"
:
{
"post"
:
{
"security"
:
[
...
...
@@ -347,6 +692,42 @@
}
},
"definitions"
:
{
"api.AddMenuAuthorityInfo"
:
{
"type"
:
"object"
,
"properties"
:
{
"authorityId"
:
{
"type"
:
"string"
},
"menus"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/dbModel.BaseMenu"
}
}
}
},
"api.AuthAndPathIn"
:
{
"type"
:
"object"
,
"properties"
:
{
"apis"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/dbModel.Api"
}
},
"authorityId"
:
{
"type"
:
"string"
}
}
},
"api.AuthorityIdInfo"
:
{
"type"
:
"object"
,
"properties"
:
{
"authorityId"
:
{
"type"
:
"string"
}
}
},
"api.ChangePasswordStutrc"
:
{
"type"
:
"object"
,
"properties"
:
{
...
...
@@ -376,7 +757,7 @@
"type"
:
"object"
,
"properties"
:
{
"authorityId"
:
{
"type"
:
"
integer
"
"type"
:
"
string
"
},
"authorityName"
:
{
"type"
:
"string"
...
...
@@ -394,6 +775,14 @@
}
}
},
"api.IdInfo"
:
{
"type"
:
"object"
,
"properties"
:
{
"id"
:
{
"type"
:
"number"
}
}
},
"api.RegistAndLoginStuct"
:
{
"type"
:
"object"
,
"properties"
:
{
...
...
@@ -405,6 +794,52 @@
}
}
},
"dbModel.Api"
:
{
"type"
:
"object"
,
"properties"
:
{
"description"
:
{
"type"
:
"string"
},
"path"
:
{
"type"
:
"string"
}
}
},
"dbModel.BaseMenu"
:
{
"type"
:
"object"
,
"properties"
:
{
"children"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/dbModel.BaseMenu"
}
},
"component"
:
{
"type"
:
"string"
},
"hidden"
:
{
"type"
:
"boolean"
},
"icon"
:
{
"type"
:
"string"
},
"name"
:
{
"type"
:
"string"
},
"nickName"
:
{
"type"
:
"string"
},
"parentId"
:
{
"type"
:
"string"
},
"path"
:
{
"type"
:
"string"
},
"title"
:
{
"type"
:
"string"
}
}
},
"modelInterface.PageInfo"
:
{
"type"
:
"object"
,
"properties"
:
{
...
...
QMPlusServer/docs/swagger.yaml
浏览文件 @
bec140ae
basePath
:
/
definitions
:
api.AddMenuAuthorityInfo
:
properties
:
authorityId
:
type
:
string
menus
:
items
:
$ref
:
'
#/definitions/dbModel.BaseMenu'
type
:
array
type
:
object
api.AuthAndPathIn
:
properties
:
apis
:
items
:
$ref
:
'
#/definitions/dbModel.Api'
type
:
array
authorityId
:
type
:
string
type
:
object
api.AuthorityIdInfo
:
properties
:
authorityId
:
type
:
string
type
:
object
api.ChangePasswordStutrc
:
properties
:
newPassword
:
...
...
@@ -19,7 +42,7 @@ definitions:
api.CreateAuthorityPatams
:
properties
:
authorityId
:
type
:
integer
type
:
string
authorityName
:
type
:
string
type
:
object
...
...
@@ -30,6 +53,11 @@ definitions:
authorityId
:
type
:
integer
type
:
object
api.IdInfo
:
properties
:
id
:
type
:
number
type
:
object
api.RegistAndLoginStuct
:
properties
:
password
:
...
...
@@ -37,6 +65,36 @@ definitions:
username
:
type
:
string
type
:
object
dbModel.Api
:
properties
:
description
:
type
:
string
path
:
type
:
string
type
:
object
dbModel.BaseMenu
:
properties
:
children
:
items
:
$ref
:
'
#/definitions/dbModel.BaseMenu'
type
:
array
component
:
type
:
string
hidden
:
type
:
boolean
icon
:
type
:
string
name
:
type
:
string
nickName
:
type
:
string
parentId
:
type
:
string
path
:
type
:
string
title
:
type
:
string
type
:
object
modelInterface.PageInfo
:
properties
:
page
:
...
...
@@ -99,6 +157,54 @@ paths:
summary
:
删除指定角色api
tags
:
-
Api
/api/getApiList
:
post
:
consumes
:
-
application/json
parameters
:
-
description
:
分页获取用户列表
in
:
body
name
:
data
required
:
true
schema
:
$ref
:
'
#/definitions/modelInterface.PageInfo'
type
:
object
produces
:
-
application/json
responses
:
"
200"
:
description
:
'
{"success":true,"data":{},"msg":"获取成功"}'
schema
:
type
:
string
security
:
-
ApiKeyAuth
:
[]
summary
:
分页获取角色列表
tags
:
-
api
/api/setAuthAndPath
:
post
:
consumes
:
-
application/json
parameters
:
-
description
:
创建api和角色关系
in
:
body
name
:
data
required
:
true
schema
:
$ref
:
'
#/definitions/api.AuthAndPathIn'
type
:
object
produces
:
-
application/json
responses
:
"
200"
:
description
:
'
{"success":true,"data":{},"msg":"获取成功"}'
schema
:
type
:
string
security
:
-
ApiKeyAuth
:
[]
summary
:
创建api和角色关系
tags
:
-
Api
/authority/createAuthority
:
post
:
consumes
:
...
...
@@ -147,6 +253,30 @@ paths:
summary
:
删除角色
tags
:
-
authority
/authority/getAuthorityList
:
post
:
consumes
:
-
application/json
parameters
:
-
description
:
分页获取用户列表
in
:
body
name
:
data
required
:
true
schema
:
$ref
:
'
#/definitions/modelInterface.PageInfo'
type
:
object
produces
:
-
application/json
responses
:
"
200"
:
description
:
'
{"success":true,"data":{},"msg":"获取成功"}'
schema
:
type
:
string
security
:
-
ApiKeyAuth
:
[]
summary
:
分页获取角色列表
tags
:
-
authority
/base/login
:
post
:
parameters
:
...
...
@@ -187,6 +317,146 @@ paths:
summary
:
用户注册账号
tags
:
-
Base
/menu/addBaseMenu
:
post
:
consumes
:
-
application/json
parameters
:
-
description
:
分页获取基础menu列表
in
:
body
name
:
data
required
:
true
schema
:
$ref
:
'
#/definitions/modelInterface.PageInfo'
type
:
object
produces
:
-
application/json
responses
:
"
200"
:
description
:
'
{"success":true,"data":{},"msg":"获取成功"}'
schema
:
type
:
string
security
:
-
ApiKeyAuth
:
[]
summary
:
分页获取基础menu列表
tags
:
-
menu
/menu/addMenuAuthority
:
post
:
consumes
:
-
application/json
parameters
:
-
description
:
增加menu和角色关联关系
in
:
body
name
:
data
required
:
true
schema
:
$ref
:
'
#/definitions/api.AuthorityIdInfo'
type
:
object
produces
:
-
application/json
responses
:
"
200"
:
description
:
'
{"success":true,"data":{},"msg":"获取成功"}'
schema
:
type
:
string
security
:
-
ApiKeyAuth
:
[]
summary
:
获取指定角色menu
tags
:
-
authorityAndMenu
/menu/deleteBaseMenu
:
post
:
consumes
:
-
application/json
parameters
:
-
description
:
删除菜单
in
:
body
name
:
data
required
:
true
schema
:
$ref
:
'
#/definitions/api.IdInfo'
type
:
object
produces
:
-
application/json
responses
:
"
200"
:
description
:
'
{"success":true,"data":{},"msg":"获取成功"}'
schema
:
type
:
string
security
:
-
ApiKeyAuth
:
[]
summary
:
获取指定角色menu
tags
:
-
menu
/menu/getBaseMenuTree
:
post
:
parameters
:
-
description
:
可以什么都不填
in
:
body
name
:
data
required
:
true
schema
:
$ref
:
'
#/definitions/api.RegistAndLoginStuct'
type
:
object
produces
:
-
application/json
responses
:
"
200"
:
description
:
'
{"success":true,"data":{},"msg":"返回成功"}'
schema
:
type
:
string
security
:
-
ApiKeyAuth
:
[]
summary
:
获取用户动态路由
tags
:
-
authorityAndMenu
/menu/getMenu
:
post
:
parameters
:
-
description
:
可以什么都不填
in
:
body
name
:
data
required
:
true
schema
:
$ref
:
'
#/definitions/api.RegistAndLoginStuct'
type
:
object
produces
:
-
application/json
responses
:
"
200"
:
description
:
'
{"success":true,"data":{},"msg":"返回成功"}'
schema
:
type
:
string
security
:
-
ApiKeyAuth
:
[]
summary
:
获取用户动态路由
tags
:
-
authorityAndMenu
/menu/getMenuList
:
post
:
consumes
:
-
application/json
parameters
:
-
description
:
分页获取基础menu列表
in
:
body
name
:
data
required
:
true
schema
:
$ref
:
'
#/definitions/modelInterface.PageInfo'
type
:
object
produces
:
-
application/json
responses
:
"
200"
:
description
:
'
{"success":true,"data":{},"msg":"获取成功"}'
schema
:
type
:
string
security
:
-
ApiKeyAuth
:
[]
summary
:
分页获取基础menu列表
tags
:
-
menu
/user/changePassword
:
post
:
parameters
:
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录