feat: FinalSettle 增加 final_node——终局节点剧本透出(v2.1 终局演绎数据层)

This commit is contained in:
2026-08-13 17:00:43 +08:00
parent 035a115c29
commit aea79d8c5a
3 changed files with 14 additions and 2 deletions
+4
View File
@@ -34,6 +34,10 @@ func (c *levelPlay) Choose(ctx context.Context, req *dto.ChooseReq) (*dto.Choose
NewLevel: settle.NewLevel,
BalanceAfter: settle.BalanceAfter,
}
if settle.FinalNode != nil {
vo := nodeVO(settle.FinalNode)
res.Final.FinalNode = &vo
}
}
return res, nil
}