fix(claim): 领取页展示游戏角色名,并说明乐玩免扫码场景

持久化 affiliate_dash roleName/gameChannel;免扫码授权时明确提示,有绑定链接时提交前仍可显示二维码。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
yml2213
2026-09-15 12:39:47 +08:00
co-authored by Cursor
parent 8eef95fe97
commit 8e0cb7e295
6 changed files with 88 additions and 25 deletions
@@ -193,6 +193,9 @@ function resolveProgressText(options: {
if (!options.isAffiliateDashReadyToSubmit) {
return '绑定账号确认中,请稍候'
}
if (!(options.affiliateDash?.bindUrl || options.affiliateDash?.qrUrl)) {
return '账号已授权,请确认提交发货'
}
return '已绑定,请提交发货'
}
return '当前领取流程不可用'