rwadurian/frontend/mining-app/lib/presentation
hailin 2b07219046 fix(mining-app): sellRestrictionProvider 绑定用户身份,避免跨账号缓存污染
[问题] sellRestrictionProvider 未绑定用户身份。若先用预种账号(isRestricted=true)
测试,再切换为正式认种账号,Riverpod keepAlive 缓存会在 2 分钟内残留上一个用户
的 true 值,导致正式认种用户错误看到预种卖出限制提示。

[修复] 在 provider 内 watch userNotifierProvider.select((s) => s.accountSequence),
accountSequence 变化(登录/切换账号)时 provider 自动失效并重新请求。

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-04 07:29:12 -08:00
..
pages fix(text): 预种合并份数从5份改为10份 2026-03-04 06:18:12 -08:00
providers fix(mining-app): sellRestrictionProvider 绑定用户身份,避免跨账号缓存污染 2026-03-04 07:29:12 -08:00
widgets feat(notifications): 2.0系统通知弹窗功能(后端+管理端+APP端) 2026-03-02 08:35:16 -08:00