查看用户菜单
GET
/api/v1/system-manage/menus请求参数
Query 参数
current
integer
页码
size
integer
每页数量
示例代码
返回响应
成功(200)
Validation Error(422)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
string
必需
msg
string
必需
data
object
必需
records
array [object {27}]
必需
total
integer
必需
current
integer
必需
size
integer
必需
示例
{
"code": "0000",
"msg": "OK",
"data": {
"records": [
{
"activeMenu": null,
"status": "1",
"keepAlive": false,
"multiTab": false,
"component": "layout.blank$view.login",
"hideInMenu": true,
"menuType": "1",
"href": null,
"pathParam": null,
"props": true,
"routeParam": null,
"routePath": "/login",
"redirect": null,
"fixedIndexInTab": null,
"i18nKey": "route.login",
"createTime": "2024-05-17 16:11:02",
"updateTime": "2024-05-17 16:11:02",
"menuName": "login",
"icon": null,
"iconType": null,
"constant": true,
"parentId": 0,
"routeName": "login",
"order": 1,
"id": 1,
"buttons": []
},
{
"activeMenu": null,
"status": "1",
"keepAlive": false,
"multiTab": false,
"component": "layout.blank$view.403",
"hideInMenu": true,
"menuType": "1",
"href": null,
"pathParam": null,
"props": false,
"routeParam": null,
"routePath": "/403",
"redirect": null,
"fixedIndexInTab": null,
"i18nKey": "route.403",
"createTime": "2024-05-17 16:11:02",
"updateTime": "2024-05-17 16:11:02",
"menuName": "403",
"icon": null,
"iconType": null,
"constant": true,
"parentId": 0,
"routeName": "403",
"order": 2,
"id": 2,
"buttons": []
},
{
"activeMenu": null,
"status": "1",
"keepAlive": false,
"multiTab": false,
"component": "layout.blank$view.404",
"hideInMenu": true,
"menuType": "1",
"href": null,
"pathParam": null,
"props": false,
"routeParam": null,
"routePath": "/404",
"redirect": null,
"fixedIndexInTab": null,
"i18nKey": "route.404",
"createTime": "2024-05-17 16:11:02",
"updateTime": "2024-05-17 16:11:02",
"menuName": "404",
"icon": null,
"iconType": null,
"constant": true,
"parentId": 0,
"routeName": "404",
"order": 3,
"id": 3,
"buttons": []
},
{
"activeMenu": null,
"status": "1",
"keepAlive": false,
"multiTab": false,
"component": "layout.blank$view.500",
"hideInMenu": true,
"menuType": "1",
"href": null,
"pathParam": null,
"props": false,
"routeParam": null,
"routePath": "/500",
"redirect": null,
"fixedIndexInTab": null,
"i18nKey": "route.500",
"createTime": "2024-05-17 16:11:02",
"updateTime": "2024-05-17 16:11:02",
"menuName": "500",
"icon": null,
"iconType": null,
"constant": true,
"parentId": 0,
"routeName": "500",
"order": 4,
"id": 4,
"buttons": []
},
{
"activeMenu": null,
"status": "1",
"keepAlive": false,
"multiTab": false,
"component": "layout.base$view.home",
"hideInMenu": false,
"menuType": "2",
"href": null,
"pathParam": null,
"props": false,
"routeParam": null,
"routePath": "/home",
"redirect": null,
"fixedIndexInTab": null,
"i18nKey": "route.home",
"createTime": "2024-05-17 16:11:02",
"updateTime": "2024-05-17 16:11:02",
"menuName": "首页",
"icon": "mdi:monitor-dashboard",
"iconType": "1",
"constant": false,
"parentId": 0,
"routeName": "home",
"order": 1,
"id": 5,
"buttons": []
},
{
"activeMenu": null,
"status": "1",
"keepAlive": false,
"multiTab": false,
"component": "layout.base",
"hideInMenu": false,
"menuType": "1",
"href": null,
"pathParam": null,
"props": false,
"routeParam": null,
"routePath": "/function",
"redirect": null,
"fixedIndexInTab": null,
"i18nKey": "route.function",
"createTime": "2024-05-17 16:11:02",
"updateTime": "2024-05-17 16:11:02",
"menuName": "功能",
"icon": "icon-park-outline:all-application",
"iconType": "1",
"constant": false,
"parentId": 0,
"routeName": "function",
"order": 2,
"id": 6,
"buttons": [],
"children": [
{
"activeMenu": null,
"status": "1",
"keepAlive": false,
"multiTab": false,
"component": "view.function_toggle-auth",
"hideInMenu": false,
"menuType": "2",
"href": null,
"pathParam": null,
"props": false,
"routeParam": null,
"routePath": "/function/toggle-auth",
"redirect": null,
"fixedIndexInTab": null,
"i18nKey": "route.function_toggle-auth",
"createTime": "2024-05-17 16:11:02",
"updateTime": "2024-05-17 16:11:02",
"menuName": "切换权限",
"icon": "ic:round-construction",
"iconType": "1",
"constant": false,
"parentId": 6,
"routeName": "function_toggle-auth",
"order": 4,
"id": 7,
"buttons": [
{
"status": "1",
"buttonCode": "B_CODE1",
"buttonDesc": "超级管理员可见",
"createTime": "2024-05-17 16:11:02",
"updateTime": "2024-05-17 16:11:02",
"id": 1
},
{
"status": "1",
"buttonCode": "B_CODE2",
"buttonDesc": "管理员可见",
"createTime": "2024-05-17 16:11:02",
"updateTime": "2024-05-17 16:11:02",
"id": 2
},
{
"status": "1",
"buttonCode": "B_CODE3",
"buttonDesc": "管理员和用户可见",
"createTime": "2024-05-17 16:11:02",
"updateTime": "2024-05-17 16:11:02",
"id": 3
}
]
},
{
"activeMenu": null,
"status": "1",
"keepAlive": false,
"multiTab": false,
"component": "view.function_request",
"hideInMenu": false,
"menuType": "2",
"href": null,
"pathParam": null,
"props": false,
"routeParam": null,
"routePath": "/function/request",
"redirect": null,
"fixedIndexInTab": null,
"i18nKey": "route.function_request",
"createTime": "2024-05-17 16:11:02",
"updateTime": "2024-05-17 16:11:02",
"menuName": "请求",
"icon": "carbon:network-overlay",
"iconType": "1",
"constant": false,
"parentId": 6,
"routeName": "function_request",
"order": 3,
"id": 8,
"buttons": []
},
{
"activeMenu": null,
"status": "1",
"keepAlive": false,
"multiTab": false,
"component": "view.function_super-page",
"hideInMenu": false,
"menuType": "2",
"href": null,
"pathParam": null,
"props": false,
"routeParam": null,
"routePath": "/function/super-page",
"redirect": null,
"fixedIndexInTab": null,
"i18nKey": "route.function_super-page",
"createTime": "2024-05-17 16:11:02",
"updateTime": "2024-05-17 16:11:02",
"menuName": "超级管理员可见",
"icon": "ic:round-supervisor-account",
"iconType": "1",
"constant": false,
"parentId": 6,
"routeName": "function_super-page",
"order": 5,
"id": 9,
"buttons": []
},
{
"activeMenu": "function_tab",
"status": "1",
"keepAlive": false,
"multiTab": true,
"component": "view.function_multi-tab",
"hideInMenu": true,
"menuType": "2",
"href": null,
"pathParam": null,
"props": false,
"routeParam": null,
"routePath": "/function/multi-tab",
"redirect": null,
"fixedIndexInTab": null,
"i18nKey": "route.function_multi-tab",
"createTime": "2024-05-17 16:11:02",
"updateTime": "2024-05-17 16:11:02",
"menuName": "多标签页",
"icon": "ic:round-tab",
"iconType": "1",
"constant": false,
"parentId": 6,
"routeName": "function_multi-tab",
"order": 1,
"id": 10,
"buttons": []
}
]
}
],
"total": 33,
"current": 1,
"size": 10
}
}
最后修改时间: 6 个月前