curl --location --request POST 'http://127.0.0.1/admin/v1/role/create' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "管理员2",
"sort": 100,
"pid": 0,
"description": "管理员角色",
"menu_list": [
1,
2,
3,
4,
5,
6,
7,
8
],
"status": 1
}'{
"code": 0,
"msg": "OK",
"data": null,
"cost": "19.106ms",
"request_id": "b1e9c4e3-9d56-496a-9acc-a1d79bfbf7e2"
}