feat(leaderboard): 训练完强刷 + 下拉刷新 force

- 云函数 _fetchLatestByOpenid 支持 force 跳过实例缓存重新扫描
- 训练完成设 _lb_force_refresh 标志,下次打开排行榜强刷,新数据立即可见
- 下拉刷新带 force=true,拉取最新数据
- 平时常规打开仍走 5min 缓存 + 客户端乐观缓存,不增加无谓扫描

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-07-28 08:47:41 +08:00
parent e2becc24aa
commit b42d080826
4 changed files with 22 additions and 15 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ module.exports = {
version: 'v3.01',
/** 最后更新日期,外显在设置页「关于」 */
updatedAt: '2026-07-27',
updatedAt: '2026-07-28',
/** 开发者名称 / 微信号,设置页点击可复制 */
developer: '刘承',