docs(portal): record p4-t2 remote verification
This commit is contained in:
@@ -609,6 +609,49 @@
|
|||||||
- 当前结论:
|
- 当前结论:
|
||||||
- 普通用户前端已经有了第一批“逻辑分组产品层”读取接口
|
- 普通用户前端已经有了第一批“逻辑分组产品层”读取接口
|
||||||
- 下一步可以直接做 `P4-T2`:让 `/portal/` 改吃这些聚合 API,而不是继续硬编码宿主分组目录
|
- 下一步可以直接做 `P4-T2`:让 `/portal/` 改吃这些聚合 API,而不是继续硬编码宿主分组目录
|
||||||
|
- 2026-05-30 已完成 Phase 4 / `P4-T2 portal logical group catalog frontend`
|
||||||
|
- 提交:`ac1d8e27 feat(portal): switch user catalog to logical groups`
|
||||||
|
- 本轮前端改造范围:
|
||||||
|
- `deploy/tksea-portal/index.html`
|
||||||
|
- `scripts/test/test_tksea_portal_assets.sh`
|
||||||
|
- 当前用户 Portal 语义已切换为:
|
||||||
|
- 主目录优先展示插件 `logical_group`
|
||||||
|
- 卡片展示 `display_name / logical_group_id / public_models / route_policy / sticky_mode / route_count`
|
||||||
|
- 不再把宿主真实分组当成用户主视角
|
||||||
|
- `申请测试 Key` 仍走兼容宿主线路,但必须命中唯一兼容线路才允许直接申请
|
||||||
|
- 现有 Key 列表已补充 `逻辑分组` 视角展示,不再只显示宿主分组
|
||||||
|
- 本地门禁已通过:
|
||||||
|
- `gofmt -l .`
|
||||||
|
- `go vet ./...`
|
||||||
|
- `go test -cover ./internal/...`
|
||||||
|
- `go test ./tests/integration/... -count=1`
|
||||||
|
- `bash ./scripts/test/test_tksea_portal_assets.sh`
|
||||||
|
- `bash ./scripts/test/test_real_host_scripts.sh`
|
||||||
|
- remote43 已完成静态门户部署:
|
||||||
|
- 公网页面:`https://sub.tksea.top/portal/`
|
||||||
|
- `nginx -t` 成功
|
||||||
|
- `systemctl reload nginx` 成功
|
||||||
|
- remote43 / 公网真实验证已通过:
|
||||||
|
- 公网页面回读已确认包含:
|
||||||
|
- `逻辑分组目录`
|
||||||
|
- `选择逻辑分组`
|
||||||
|
- `PORTAL_CATALOG_PREFIX = "/portal-admin-api/api/portal"`
|
||||||
|
- 为验证前端所消费的聚合接口,临时创建:
|
||||||
|
- `logical_group_id=p4t2-portal-1780100901`
|
||||||
|
- `route_id=primary-1780100901`
|
||||||
|
- `public_model=gpt-5.4`
|
||||||
|
- 公网回读:
|
||||||
|
- `GET https://sub.tksea.top/portal-admin-api/api/portal/logical-groups`
|
||||||
|
- 返回样本 `logical_group_id=p4t2-portal-1780100901`
|
||||||
|
- `route_count=1`
|
||||||
|
- `active_route_count=1`
|
||||||
|
- `GET https://sub.tksea.top/portal-admin-api/api/portal/logical-groups/p4t2-portal-1780100901/models`
|
||||||
|
- 返回 `public_model=gpt-5.4`
|
||||||
|
- 验证结束后已删除临时 `logical_group / route / model`,未向 remote43 留下测试噪音
|
||||||
|
- 当前结论:
|
||||||
|
- `/portal/` 已开始真正切到“逻辑分组视角”
|
||||||
|
- 兼容宿主分组仍仅保留在测试 Key 申请链路,不再作为主目录抽象
|
||||||
|
- 下一步可以直接进入 `P4-T3`:把普通用户的 key / 订阅 / 权限展示进一步收口到逻辑分组产品层
|
||||||
- 2026-05-28 已完成 Phase 1 / `P1-T1 SQLite schema foundation`
|
- 2026-05-28 已完成 Phase 1 / `P1-T1 SQLite schema foundation`
|
||||||
- 提交:`7f75d8a6 feat(routing): add logical group schema foundation`
|
- 提交:`7f75d8a6 feat(routing): add logical group schema foundation`
|
||||||
- 新 migration:`internal/store/migrations/0010_logical_groups_and_routes.sql`
|
- 新 migration:`internal/store/migrations/0010_logical_groups_and_routes.sql`
|
||||||
|
|||||||
Reference in New Issue
Block a user