test(withdraw): 补 invite_cash 并发在途用例 + 清理过期注释
审查发现:取消「一人一单」后,create_withdraw 的档位闸注释与 test_invite_cash_withdraw 中若干注释仍引用已删除的「在途互斥」。 - create_withdraw 注释去掉「在途互斥」措辞 - test_two_accounts_withdraw_independent 文案修正;source_filter 用例移除已非必需的 reject(断言不变) - 新增 test_invite_cash_multiple_in_flight_allowed:两笔 invite_cash 在途并存、各扣邀请奖励金、不串金币现金 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -751,7 +751,7 @@ def create_withdraw(
|
||||
out_bill_no = uuid.uuid4().hex
|
||||
|
||||
# 福利页档位闸(7-9):coin_cash 只能提预设档位,且该档今日可提(服务端权威口径,防绕过
|
||||
# 客户端刷)。放在幂等返回/在途互斥之后:同号重试仍原样返回旧单,不被档位闸误杀。
|
||||
# 客户端刷)。放在幂等返回之后:同号重试仍原样返回旧单,不被档位闸误杀。
|
||||
# allow_sub_min(0.01 调试直发)保持原样放行,不受档位约束;invite_cash 本轮无档位概念不校验。
|
||||
if source == "coin_cash" and not allow_sub_min:
|
||||
tier_state = next(
|
||||
|
||||
Reference in New Issue
Block a user