changelog 示例 JSON 改多行格式(#5452 #5455)
所有检测均成功
changelog-filename-gate / validate (push) Successful in 2s
所有检测均成功
changelog-filename-gate / validate (push) Successful in 2s
这个提交包含在:
父节点
f93d9a9906
当前提交
e040b18f5d
@ -67,7 +67,13 @@ Authorization: Bearer <token>
|
|||||||
```
|
```
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{"code": 400, "message": "参数【startDayFrom】格式不正确", "data": null, "traceId": null, "success": false}
|
{
|
||||||
|
"code": 400,
|
||||||
|
"message": "参数【startDayFrom】格式不正确",
|
||||||
|
"data": null,
|
||||||
|
"traceId": null,
|
||||||
|
"success": false
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
```text
|
```text
|
||||||
@ -75,7 +81,13 @@ GET /admin/fleet/board/orders?page=1&pageSize=20&startDayFrom=2026-02-30
|
|||||||
```
|
```
|
||||||
|
|
||||||
```json
|
```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
|
```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`
|
### 2. 司机档案分页 `GET /admin/fleet/drivers/page`
|
||||||
@ -106,7 +123,13 @@ Authorization: Bearer <token>
|
|||||||
```
|
```
|
||||||
|
|
||||||
```json
|
```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`
|
### 3. 车辆分页 `GET /admin/fleet/vehicles/page`
|
||||||
@ -126,7 +149,13 @@ Authorization: Bearer <token>
|
|||||||
```
|
```
|
||||||
|
|
||||||
```json
|
```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`
|
### 4. 保险任务列表 `GET /admin/fleet/insurance/tasks`
|
||||||
@ -146,7 +175,13 @@ Authorization: Bearer <token>
|
|||||||
```
|
```
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{"code": 400, "message": "参数【serviceDateFrom】格式不正确", "data": null, "traceId": null, "success": false}
|
{
|
||||||
|
"code": 400,
|
||||||
|
"message": "参数【serviceDateFrom】格式不正确",
|
||||||
|
"data": null,
|
||||||
|
"traceId": null,
|
||||||
|
"success": false
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
## 错误码
|
## 错误码
|
||||||
|
|||||||
@ -71,7 +71,13 @@ Authorization: Bearer <token>
|
|||||||
```
|
```
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{"code": 100001, "message": "参数非法: vehicleTypeKeys 仅支持 suv/mpv/bus/sedan,传入非法值:BAD_TYPE", "data": null, "traceId": null, "success": false}
|
{
|
||||||
|
"code": 100001,
|
||||||
|
"message": "参数非法: vehicleTypeKeys 仅支持 suv/mpv/bus/sedan,传入非法值:BAD_TYPE",
|
||||||
|
"data": null,
|
||||||
|
"traceId": null,
|
||||||
|
"success": false
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
**异常示例**(非法状态枚举,与车型同为拒绝口径):
|
**异常示例**(非法状态枚举,与车型同为拒绝口径):
|
||||||
@ -81,7 +87,13 @@ GET /admin/fleet/board/orders?page=1&pageSize=20&statuses=BAD_STATUS
|
|||||||
```
|
```
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{"code": 100001, "message": "参数非法: statuses 含非法状态值:BAD_STATUS(合法值:unassigned/unassigned_urgent/holding/holding_urgent/assigned/change_requested/canceled/completed)", "data": null, "traceId": null, "success": false}
|
{
|
||||||
|
"code": 100001,
|
||||||
|
"message": "参数非法: statuses 含非法状态值:BAD_STATUS(合法值:unassigned/unassigned_urgent/holding/holding_urgent/assigned/change_requested/canceled/completed)",
|
||||||
|
"data": null,
|
||||||
|
"traceId": null,
|
||||||
|
"success": false
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
**典型成功示例**(合法多选):
|
**典型成功示例**(合法多选):
|
||||||
@ -92,7 +104,12 @@ Authorization: Bearer <token>
|
|||||||
```
|
```
|
||||||
|
|
||||||
```json
|
```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}
|
||||||
```
|
```
|
||||||
|
|
||||||
## 错误码
|
## 错误码
|
||||||
|
|||||||
正在加载...
x
在新工单中引用
屏蔽一个用户