{
"child_auth": [
{
"auth_name": "增加",
"auth_sn": "add"
}
],
"authority_ico": "",
"parent_id": 265,
"authority_name": "植物大战1",
"authority_sn": "zhi1",
"route_link": "zhi",
"sort_order": "1",
"is_show": 0,
"admin_type":"all"
}curl --location --request POST '/adminapi/authority/authority/create' \
--header 'Content-Type: application/json' \
--data-raw '{
"child_auth": [
{
"auth_name": "增加",
"auth_sn": "add"
}
],
"authority_ico": "",
"parent_id": 265,
"authority_name": "植物大战1",
"authority_sn": "zhi1",
"route_link": "zhi",
"sort_order": "1",
"is_show": 0,
"admin_type":"all"
}'{
"code": 0,
"msg": "ok",
"data": {
"errcode": 0,
"message": "权限添加成功"
}
}