合并 master 并修复架构分支回归
合入 master 最新的认证、玩法契约与推荐页改动。 修复拼图草稿生成、推荐页下一关和公开详情访客试玩回归。 修复抓大鹅草稿试玩鉴权与首屏推荐详情测试入口。 补齐相关测试夹具、文档与团队记忆更新。
This commit is contained in:
@@ -93,7 +93,7 @@ export async function dragPuzzlePieceOrGroup(
|
||||
}
|
||||
|
||||
/**
|
||||
* 进入推荐出的下一关。
|
||||
* 进入当前 run 的下一关。
|
||||
*/
|
||||
export async function advancePuzzleNextLevel(
|
||||
runId: string,
|
||||
@@ -101,10 +101,8 @@ export async function advancePuzzleNextLevel(
|
||||
options: PuzzleRuntimeRequestOptions = {},
|
||||
) {
|
||||
const targetProfileId = payload.targetProfileId?.trim() ?? '';
|
||||
const preferSimilarWork = payload.preferSimilarWork === true;
|
||||
const requestPayload = {
|
||||
...(targetProfileId ? { targetProfileId } : {}),
|
||||
...(preferSimilarWork ? { preferSimilarWork: true } : {}),
|
||||
};
|
||||
const hasRequestPayload = Object.keys(requestPayload).length > 0;
|
||||
return requestRuntimeJson<PuzzleRunResponse>({
|
||||
|
||||
Reference in New Issue
Block a user