fix(experiments): 按决策返回值消费多组界面实验

- 用户端支持动态组别和未入组状态,不再固定使用B组判断新版界面
- 决策过期使用服务端返回的默认值,保留旧响应兼容
This commit is contained in:
湛兮
2026-10-27 15:15:21 +08:00
parent 4079397625
commit a963bec3f3
3 changed files with 12 additions and 3 deletions
+4 -2
View File
@@ -123,10 +123,12 @@ export type Bootstrap = {
catalog: Card[];
profile: Profile;
decision: {
variant: "A" | "B";
variant: string | null;
value?: unknown;
fallbackValue?: unknown;
decisionId: string | null;
expiresAt: number;
fallbackVariant: "A" | "B";
fallbackVariant: string | null;
};
serverNow: number;
};