# Http响应之JSON数据
# 数据结构
{
"success": true,
"errorCode": 0,
"errorMessage": "操作成功",
"traceId": "业务轨迹id",
"timestamp": "响应时间戳",
"data": "数据体"
}
1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
# 例子
{
"success": true,
"errorCode": 0,
"errorMessage": "操作成功",
"traceId": "2273eb941d764399ab0babe9dee06189",
"timestamp": "1755436278000",
"data": [
{
"id": 2,
"roleCode": "dev",
"roleName": "开发"
}
]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
2
3
4
5
6
7
8
9
10
11
12
13
14