token: ********************
{
"id": 1, // 自定义角色id
"permission_id_list": [
1,2,3,4,5,6
]
}
curl --location --request POST 'http://cmi-api.gleg.site/api/custom-roles/configPermission' \
--header 'Content-Type: application/json' \
--header 'token;' \
--data-raw '{
"id": 1, // 自定义角色id
"permission_id_list": [
1,2,3,4,5,6
]
}'
{}