changelog 示例 JSON 改多行格式(#5452 #5455)
changelog-filename-gate / validate (push) Successful in 2s

这个提交包含在:
API Changelog Bot
2026-08-04 12:55:10 +08:00
父节点 f93d9a9906
当前提交 e040b18f5d
共修改 2 个文件,包含 61 行新增和 9 行删除
@@ -67,7 +67,13 @@ Authorization: Bearer <token>
```
```json
{"code": 400, "message": "参数【startDayFrom】格式不正确", "data": null, "traceId": null, "success": false}
{
"code": 400,
"message": "参数【startDayFrom】格式不正确",
"data": null,
"traceId": null,
"success": false
}
```
```text
@@ -75,7 +81,13 @@ GET /admin/fleet/board/orders?page=1&pageSize=20&startDayFrom=2026-02-30
```
```json
{"code": 400, "message": "参数【startDayFrom】格式不正确(日期请用 yyyy-MM-dd,日期时间请用 yyyy-MM-dd'T'HH:mm:ss)", "data": null, "traceId": null, "success": false}
{
"code": 400,
"message": "参数【startDayFrom】格式不正确(日期请用 yyyy-MM-dd,日期时间请用 yyyy-MM-dd'T'HH:mm:ss)",
"data": null,
"traceId": null,
"success": false
}
```
**典型成功示例**:
@@ -86,7 +98,12 @@ Authorization: Bearer <token>
```
```json
{"code": 200, "message": "成功", "data": {"records": [], "total": 0, "page": 1, "pageSize": 20}, "success": true}
{"code": 200, "message": "成功", "data": {
"records": [],
"total": 0,
"page": 1,
"pageSize": 20
}, "success": true}
```
### 2. 司机档案分页 `GET /admin/fleet/drivers/page`
@@ -106,7 +123,13 @@ Authorization: Bearer <token>
```
```json
{"code": 400, "message": "参数【licenseExpireBefore】格式不正确", "data": null, "traceId": null, "success": false}
{
"code": 400,
"message": "参数【licenseExpireBefore】格式不正确",
"data": null,
"traceId": null,
"success": false
}
```
### 3. 车辆分页 `GET /admin/fleet/vehicles/page`
@@ -126,7 +149,13 @@ Authorization: Bearer <token>
```
```json
{"code": 400, "message": "参数【insureDueBefore】格式不正确", "data": null, "traceId": null, "success": false}
{
"code": 400,
"message": "参数【insureDueBefore】格式不正确",
"data": null,
"traceId": null,
"success": false
}
```
### 4. 保险任务列表 `GET /admin/fleet/insurance/tasks`
@@ -146,7 +175,13 @@ Authorization: Bearer <token>
```
```json
{"code": 400, "message": "参数【serviceDateFrom】格式不正确", "data": null, "traceId": null, "success": false}
{
"code": 400,
"message": "参数【serviceDateFrom】格式不正确",
"data": null,
"traceId": null,
"success": false
}
```
## 错误码