mirror of
https://github.com/hpd840321/starRiverProperty.git
synced 2026-06-09 08:20:31 +08:00
docs+test: 发布包对拍计划、pytest 双端 API 对拍与 run_elevator_parity 脚本
- docs/elevator-api-parity: 计划/报告模板/示例 - tools/elevator_api_parity: 端点目录、fixtures、对拍 client/compare、报告生成 - scripts/run_elevator_parity: JDK8 构建 + 单测/对拍(无服务时跳过对拍用例) Made-with: Cursor Former-commit-id: 3d54a40e1a7ae0b1724261d4f18910a6f415f853
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
# 电梯应用 API 新旧对拍报告(示例)
|
||||
|
||||
- **时间**: 2026-04-25T12:00:00
|
||||
- **基线(旧) URL**: `http://127.0.0.1:18080`
|
||||
- **新构建 URL**: `http://127.0.0.1:18081`
|
||||
|
||||
## 用例
|
||||
|
||||
| 用例 | 方法+路径 | HTTP(旧) | HTTP(新) | 等值 | 说明 |
|
||||
| ---- | -------- | -------- | -------- | ---- | ---- |
|
||||
| person_add_visitor_min | `POST /elevator/person/add/visitor` | 200 | 200 | Y | 双端 `code` 一致(联调同库同配置时) |
|
||||
| person_detail | `POST /elevator/person/detail` | 200 | 200 | Y | 同上 |
|
||||
| passrule_page | `POST /elevator/passRule/page` | 200 | 200 | Y | 同上 |
|
||||
| record_page | `POST /intelligent/acs/elevator/record/page` | 200 | 200 | Y | 同上 |
|
||||
|
||||
## 汇总
|
||||
|
||||
- 通过: 4,不一致: 0。
|
||||
- **上线前请人工与联调/业务确认**(本表为结构示例,实跑见 `tools/elevator_api_parity/report/parity-*.md`)。
|
||||
Reference in New Issue
Block a user