docs: 补充4856测试服验证结果

这个提交包含在:
API Changelog Bot 2026-07-08 18:20:10 +08:00
父节点 f3b433a034
当前提交 f2c9864c02

查看文件

@ -205,3 +205,87 @@ mvn -pl hl-order-service-v3 -am -Dtest=RequirementServiceTest -DfailIfNoTests=fa
- 历史大类 key 兼容,例如 `suv2` 可映射到 `suv` 座位数选项。 - 历史大类 key 兼容,例如 `suv2` 可映射到 `suv` 座位数选项。
- 订单提交时合法 `vehicleType + seats` 通过。 - 订单提交时合法 `vehicleType + seats` 通过。
- 订单提交时非法 `vehicleType + seats` 返回 `582024` - 订单提交时非法 `vehicleType + seats` 返回 `582024`
## 8. 测试服验证
验证时间2026-07-08 18:19:16
测试网关:`https://api.test.1814.love:9443`
测试账号:`designer_4760` / `fleet_mgr_4760`
测试订单:`HL20260708144554930` (`2074746784613097473`)
### 8.1 车型大类返回座位选项
`GET /admin/fleet/vehicle-types/list` 实测返回:
```json
[
{ "typeKey": "suv2", "typeName": "SUV系列", "seatOptions": [5, 7] },
{ "typeKey": "mpv", "typeName": "商务车", "seatOptions": [7] },
{ "typeKey": "sedan", "typeName": "轿车系列", "seatOptions": [5] },
{ "typeKey": "bus", "typeName": "大巴系列", "seatOptions": [12, 15, 16, 19] }
]
```
DB 核对 `fleet_vehicle_model``suv2` 下真实车型型号 seats 去重后为 `[5, 7]`,与接口 `seatOptions` 一致。
### 8.2 非法座位数组合
请求:
```json
{
"fleet": [
{ "vehicleType": "suv2", "seats": 99, "count": 1 }
],
"specialTags": ["中文司机"],
"remark": "issue4856 invalid seat option verify"
}
```
响应:
```json
{
"code": 582024,
"success": false,
"message": "座位数不在该车型大类可选座位数中,请检查车型库"
}
```
### 8.3 合法座位数组合
请求:
```json
{
"fleet": [
{ "vehicleType": "suv2", "seats": 5, "count": 1 }
],
"specialTags": ["中文司机"],
"remark": "issue4856 valid seat option verify"
}
```
响应:
```json
{
"code": 200,
"success": true,
"message": "成功"
}
```
落库核对:
```json
{
"requirementId": "2074800483964272641",
"version": 1,
"status": "PENDING",
"isActive": 1,
"fleet": [
{ "vehicleType": "suv", "seats": 5, "count": 1 }
]
}
```