curl --location 'http://127.0.0.1:8000/api/admin/account/role?ids=undefined&name=undefined&code=undefined&offset=undefined&limit=undefined' \
--header 'Authorization: Bearer {{ token }}' \
--header 'Content-Type: application/json'{
"code": 0,
"data": {
"list": [
{
"id": 1,
"name": "管理员",
"code": "admin",
"description": "平台管理员角色",
"created_at": "2025-12-22 10:30:25.817",
"updated_at": "2025-12-22 10:30:25.817"
}
],
"total": 1
},
"msg": "success",
"timestamp": 1766396636949
}