On this page
菜单权限列表
接口URL
请求方式
GET
Content-Type
form-data
请求Header参数
参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 |
---|---|---|---|---|
token | 2f...5e | Text | 是 | 用户token |
成功响应示例
json5
{
"msg": "ok",
"data": {
"list": [
{
"id": 5,
"rule_id": 0,
"status": 1,
"create_time": "2019-08-11 13:36:09",
"update_time": "2021-12-21 19:31:11",
"name": "后台面板",
"desc": "index",
"frontpath": null,
"condition": null,
"menu": 1,
"order": 1,
"icon": "help",
"method": "GET",
"child": [
{
"id": 10,
"rule_id": 5,
"status": 1,
"create_time": "2019-08-11 13:37:02",
"update_time": "2021-12-21 20:21:23",
"name": "主控台",
"desc": "index",
"frontpath": "/",
"condition": null,
"menu": 1,
"order": 20,
"icon": "home-filled",
"method": "GET",
"child": [
{
"id": 174,
"rule_id": 10,
"status": 1,
"create_time": "2022-01-08 03:58:37",
"update_time": "2022-01-08 03:58:37",
"name": "获取面板数据1",
"desc": "",
"frontpath": "",
"condition": "getStatistics1",
"menu": 0,
"order": 50,
"icon": "",
"method": "GET",
"child": []
},
// ...
]
},
// ...
]
},
// ...
]
}
}