Http响应之JSON数据
数据结构
json
{
"success": true,
"errorCode": 0,
"errorMessage": "操作成功",
"traceId": "业务轨迹id",
"timestamp": "响应时间戳",
"data": "数据体"
}例子
json
{
"success": true,
"errorCode": 0,
"errorMessage": "操作成功",
"traceId": "2273eb941d764399ab0babe9dee06189",
"timestamp": "1755436278000",
"data": [
{
"id": 2,
"roleCode": "dev",
"roleName": "开发"
}
]
}
