curl --location --request GET '/adminapi/authority/authority/get_all_authority' \
--header 'X-Shop-Id: 101'{
"code": 0,
"msg": "ok",
"data": {
"item": [
{
"authority_id": 1,
"is_show": 1,
"authority_sn": "panel",
"authority_name": "面板",
"parent_id": 0,
"authority_ico": "iconfont-tig icon-jingying",
"route_link": "panel/index/",
"child_auth": [],
"children": [
{
"authority_id": 6,
"is_show": 1,
"authority_sn": "consoleManage",
"authority_name": "控制台",
"parent_id": 1,
"authority_ico": "",
"route_link": "panel/index/",
"child_auth": []
}
]
}
],
"errcode": 0,
"message": ""
}
}