{
"authorityId": 0,
"authoritySn": "string",
"authorityName": "string",
"parentId": 0,
"sortOrder": 0,
"hasChildren": 0,
"isShow": 0,
"childAuth": [
{
"authName": "string",
"authSn": "string"
}
],
"routeLink": "string",
"authorityIco": "string",
"isSystem": 0,
"adminType": "string"
}curl --location --request POST '/adminapi/authority/authority/update' \
--header 'authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJpYXQiOjE3NjA5NDQ0NjYsImlzcyI6InRpZ3Nob3AiLCJzdWIiOiJhZG1pbiIsImV4cCI6MTc2MzUzNjQ2NiwidXNlcklkIjoxLCJpc0FkbWluIjp0cnVlLCJ1c2VybmFtZSI6ImFkbWluIn0.3-NTk54VYUkVXdYnipFjUaej2h5B3JHLtmy46vhQW6DZBcfUcG965oBe_FmgoqVFfAc7IcOXBtu2enEX0Rt4vw' \
--header 'X-Shop-Id: 0' \
--header 'Content-Type: application/json' \
--data-raw '{
"authorityId": 0,
"authoritySn": "string",
"authorityName": "string",
"parentId": 0,
"sortOrder": 0,
"hasChildren": 0,
"isShow": 0,
"childAuth": [
{
"authName": "string",
"authSn": "string"
}
],
"routeLink": "string",
"authorityIco": "string",
"isSystem": 0,
"adminType": "string"
}'