curl --location --request GET 'http://127.0.0.1/admin/v1/role/detail?id=3' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 0,
"name": "string",
"desc": "string",
"method": "string",
"route": "string",
"func": "string",
"func_path": "string",
"is_auth": 0,
"sort": 0
}'{
"code": 0,
"msg": "OK",
"data": {
"id": 1,
"pid": 0,
"name": "管理员",
"description": "",
"level": 1,
"sort": 100,
"status": 1,
"menu_list": [
1,
2,
3
],
"created_at": "2025-05-13 13:58:07",
"updated_at": "2025-05-13 14:00:13"
},
"cost": "14.731625ms",
"request_id": "c520ff52-2f04-4cef-a703-2eae034a1c3b"
}