affiliate-dash 绑定 UID 强制校验:绑定账号与第一步填写 UID 不一致时禁止提交
- bind 时记录 expectedGameAccount(第一步 UID 权威值) - 轮询 bind-result 时本地对比 boundAccount 与 expectedGameAccount(去空白),不依赖平台 mismatch 字段 - submit 前实时拉 bind-result 二次校验,不一致 409 拒绝(前端无法绕过) - 前端:bindMismatch 时不显示提交发货按钮,提示核对后重新绑定 - 拉取失败不阻塞轮询与提交(平台侧提交仍会校验)
This commit is contained in:
@@ -123,6 +123,14 @@ export function AffiliateDashClaimPanel({
|
||||
V区用V扫
|
||||
</span>
|
||||
</div>
|
||||
) : bindMismatch ? (
|
||||
<Alert
|
||||
type="warning"
|
||||
showIcon
|
||||
message="绑定账号与填写 UID 不一致,暂不能提交发货"
|
||||
description="请核对上方填写的 UID,确认无误后重新绑定;绑定成功且账号一致后,即可提交发货。"
|
||||
style={{ marginBottom: 16 }}
|
||||
/>
|
||||
) : (
|
||||
<Button
|
||||
type="primary"
|
||||
|
||||
Reference in New Issue
Block a user