curl --location --request POST 'http://127.0.0.1:8000/admin/role/rule' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"role_id": 1,
"rule_ids": [
1,
2,
3,
4,
5,
6,
7,
8
]
}'
{
"data": [],
"success": true,
"msg": "ok",
"showType": 0
}