Backend (presence-service): - 将EventLog.userId从BigInt改为String类型,存储userSerialNum(如D25121400005) - 更新Prisma schema,userId字段改为VarChar(20)并添加索引 - 更新心跳相关命令和事件,统一使用userSerialNum字符串 - 添加数据库迁移文件 - 更新相关单元测试和集成测试 Frontend (mobile-app): - TelemetryEvent新增toServerJson()方法,格式化为后端API期望的格式 - AccountService登录/恢复时设置TelemetryService的userId - MultiAccountService切换账号时同步更新TelemetryService的userId - 退出登录时清除TelemetryService的userId - AuthProvider初始化时设置userId 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| account_service.dart | ||
| authorization_service.dart | ||
| deposit_service.dart | ||
| multi_account_service.dart | ||
| notification_service.dart | ||
| planting_service.dart | ||
| referral_service.dart | ||
| reward_service.dart | ||
| wallet_service.dart | ||