{
"roleName": "新增角色",
"description": "测试新增",
"state": true,
"menuIds": [
1,
2
]
}
curl --location --request POST 'http://k28hrq.natappfree.cc/arbitrage/role' \
--header 'Authorization: Bearer {{pc_token}}' \
--header 'Authorization;' \
--header 'Accept-Language: en-US' \
--header 'Content-Type: application/json' \
--data-raw '{
"roleName": "新增角色",
"description": "测试新增",
"state": true,
"menuIds": [
1,
2
]
}'
{
"data": null,
"error": null
}