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