fix: 修复钱包重试事件创建的字段错误
移除 createWalletGenerationEvent 方法中不存在的字段: - deviceName(事件定义中不存在) - deviceInfo(事件定义中不存在) - inviterReferralCode(应该是 inviterSequence) 使用正确的事件字段结构,与正常账号创建保持一致。 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
d45be594a2
commit
4c645afc44
|
|
@ -515,10 +515,8 @@ export class UserAccount {
|
|||
referralCode: this._referralCode.value,
|
||||
phoneNumber: this._phoneNumber?.value || null,
|
||||
initialDeviceId: firstDevice?.deviceId || 'retry-unknown',
|
||||
deviceName: firstDevice?.deviceName || 'retry-device',
|
||||
deviceInfo: firstDevice?.deviceInfo || null,
|
||||
inviterReferralCode: null, // 重试时不需要
|
||||
createdAt: new Date(),
|
||||
inviterSequence: null, // 重试时不需要邀请人信息
|
||||
registeredAt: this._registeredAt,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue