Skip to content
关注公众号,获取新课通知

菜单权限列表


接口URL

http://ceshi13.dishait.cn/admin/rule/1

请求方式

GET

Content-Type

form-data

请求Header参数

参数名示例值参数类型是否必填参数描述
token2f...5eText用户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": []
							},
							// ...
						]
					},
					// ...
				]
			},
			// ...
		]
	}
}