获取菜单
GET
http://api.dev.toimc.com:22000/admin/getMenu
请求头
参数名
类型
描述
必填
Authorization
string
示例:Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZTc4ZDE5NTc4YzRkMGMwNmU0ODBhMGIiLCJpYXQiOjE1OTAxMTUwMjUsImV4cCI6MTU5MDIwMTQyNX0.C3PehCk_OYm4FVN1hSaAt_uXr30l__69aODmQwWCr5E
必填
响应参数
参数名
类型
描述
必填
code
int
示例:200
必填
title
string
示例:内容管理
必填
name
string
示例:content_management
必填
path
string
示例:/content
必填
component
string
示例:/components/main
必填
hideInBread
boolean
示例:true
必填
hideInMenu
boolean
示例:true
必填
notCache
boolean
示例:true
必填
icon
string
示例:md-albums
必填
sort
string
示例:0
必填
link
string
示例:
必填
redirect
string
示例:
必填
type
string
示例:menu
必填
expand
boolean
示例:true
必填
_id
string
示例:5e7f066587e2af428a868a4e
必填
operations
array
数据列表
必填
title
string
示例:文章管理
必填
name
string
示例:article_management
必填
path
string
示例:/content/index
必填
component
string
示例:/view/content/index
必填
hideInBread
boolean
示例:true
必填
hideInMenu
boolean
示例:true
必填
notCache
boolean
示例:true
必填
icon
string
示例:ios-paper
必填
sort
string
示例:0
必填
link
string
示例:
必填
redirect
string
示例:
必填
type
string
示例:menu
必填
expand
boolean
示例:true
必填
children
array
数据列表
必填
name
string
示例:文章列表
必填
type
string
示例:api
必填
method
string
示例:get
必填
path
string
示例:/public/list
必填
regmark
string
示例:
必填
_id
string
示例:5ea50550d6b70c4bd8218349
必填
_id
string
示例:5e7f08bc87e2af58cb868a50
必填
__v
int
示例:0
必填