完善活动运营域与联调标准化

This commit is contained in:
2026-04-03 13:11:41 +08:00
parent 0e28f70bad
commit 129ea935db
56 changed files with 11004 additions and 196 deletions

102
b2f.md
View File

@@ -1,6 +1,6 @@
# b2f
> 文档版本v1.3
> 最后更新2026-04-02 15:25:40
> 文档版本v1.7
> 最后更新2026-04-03 12:36:15
说明:
@@ -103,6 +103,53 @@
## 已确认
### B2F-019
- 时间2026-04-03 12:36:15
- 谁提的backend
- 当前事实:
- backend 已完成活动运营域第二阶段第四刀的后台最小实现:
- `presentation import`
- `event 默认 active 绑定`
- `publish` 默认继承
- 本刀没有改前端当前稳定消费字段语义:
- `resolvedRelease`
- `business`
- `variant`
- `runtime`
- `presentation`
- `contentBundle`
- 这次新增能力主要影响后台运营链和发布默认行为,不要求 frontend 立即改接入
- 需要对方确认什么:
-
- 是否已解决:是
### B2F-018
- 时间2026-04-03 11:22:50
- 谁提的backend
- 当前事实:
- backend 已进入活动运营域第二阶段第二刀
- 当前客户端可消费新增摘要:
- `GET /events/{eventPublicID}` 返回:
- `currentPresentation`
- `currentContentBundle`
- `GET /events/{eventPublicID}/play` 返回:
- `currentPresentation`
- `currentContentBundle`
- `POST /events/{eventPublicID}/launch` 返回:
- `launch.presentation`
- `launch.contentBundle`
- 当前字段只做摘要透出,不下发复杂 schema
- 当前旧字段保持完全兼容:
- `resolvedRelease`
- `business`
- `variant`
- `runtime`
- 需要对方确认什么:
- frontend 后续如要消费活动运营域摘要,先以这些新增摘要字段为准
- 是否已解决:是
### B2F-003
- 时间2026-04-02
@@ -360,6 +407,57 @@
-
- 是否已解决:是
### B2F-020
- 时间2026-04-03 09:43:20
- 谁提的backend
- 当前事实:
- backend 已在保持旧字段不变的前提下,为 `launch` 新增兼容字段:
- `launch.runtime`
- 当前最小字段包括:
- `runtimeBindingId`
- `placeId`
- `mapId`
- `tileReleaseId`
- `courseSetId`
- `courseVariantId`
- 这是一组新增字段,不替代也不改变现有:
- `resolvedRelease`
- `business`
- `variant`
- frontend 当前可以忽略该字段,也可以开始做观测和日志透出
- 需要对方确认什么:
-
- 是否已解决:是
### B2F-021
- 时间2026-04-03 12:14:21
- 谁提的backend
- 当前事实:
- backend 已完成活动运营域第二阶段第三刀第一版
- 当前活动运营摘要已统一补齐最小字段:
- `currentPresentation.templateKey`
- `currentPresentation.version`
- `currentContentBundle.bundleType`
- `currentContentBundle.version`
- `launch.presentation.templateKey`
- `launch.presentation.version`
- `launch.contentBundle.bundleType`
- `launch.contentBundle.version`
- 上述字段当前已在以下接口可用:
- `GET /events/{eventPublicID}`
- `GET /events/{eventPublicID}/play`
- `POST /events/{eventPublicID}/launch`
- 旧字段继续完全兼容:
- `resolvedRelease`
- `business`
- `variant`
- `runtime`
- 需要对方确认什么:
- frontend 如果开始消费活动运营摘要细项,请优先读取新增的 `templateKey / version / bundleType`
- 是否已解决:是
---
## 下一步