Commit Graph

272 Commits

Author SHA1 Message Date
zerosaturation
acacac19c7 feat: 添加 Redis 客户端和 Token 黑名单模块
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-16 00:04:31 +08:00
zerosaturation
308c080c1e docs: 修复实现计划中的问题
- 修改 Redis 错误时 fail-closed(安全策略)
- 添加 Task 7 说明后续封禁 API 的扩展方向
- 添加 go.mod replace 说明

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-16 00:03:57 +08:00
zerosaturation
d36667055d docs: 添加 Redis Token 黑名单实现计划
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-16 00:03:57 +08:00
zerosaturation
5b5909b070 docs: 优化 Redis Token 黑名单设计
- 使用 SHA256 哈希代替原始 token 作为 Key
- 使用 JSON 格式存储 value,避免解析问题
- 添加输入验证

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-16 00:03:46 +08:00
zerosaturation
ee7e47a862 docs: 添加 JWT Token 黑名单设计文档
设计 Redis Token 黑名单功能,用于账号封禁和强制下线场景。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-16 00:03:46 +08:00
faa8b32e09 style:修改样式 2026-05-16 00:03:26 +08:00
89c8f8f877 feat: 添加 ActivityRankingModal 活动榜单弹窗组件
- 新建 ActivityRankingModal.vue 组件,实现单活动排名展示
- TOP3 展示使用 TOP3Card 组件
- 排名列表使用 RankingListItem 组件
- 支持下拉刷新和滚动加载更多
- 当前用户栏固定底部显示
- ThemeBanner 添加 @tap 事件触发弹窗
- index.vue 集成 ActivityRankingModal

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-16 00:03:26 +08:00
zerosaturation
e7990481c5 feat: 新增经济系统 2026-05-16 00:02:36 +08:00
zerosaturation
48ad3ac713 feat: 区分大小写 2026-05-15 23:56:04 +08:00
liulong
d64d5d8c43 feat(frontend): 全面前端更新、资源添加与问题修复
- 新增并更新多个静态图标和图片资源
- 修复多个页面的返回图标路径和格式问题
- 简化用户模块的手机号缓存逻辑,移除冗余的脱敏手机号回退方案
- 更新本地开发环境的API基础请求地址
- 优化底部导航栏,支持自定义图标尺寸和旋转效果
- 重做主题横幅的进度展示样式与布局
- 为工艺选择页面添加路由映射和更完善的跳转逻辑
- 为用户个人作品页面新增倒计时计时器和收益领取功能
- 升级藏品详情页面:优化布局、新增用户头像展示、链上数据切换功能,解决代码合并冲突
- 重构用户个人中心页面:更新UI样式、新增敏感信息显示切换开关,替换为新的引导弹窗
2026-05-15 23:51:30 +08:00
liulong
00e515b3dd feat完善三层光栅卡片预览陀螺仪,光栅卡多素材架构升级技术设计,新增资产-素材关联表 2026-05-15 23:19:42 +08:00
ebe57bc078 image:替换图片 2026-05-15 23:13:10 +08:00
6252be4d75 image:替换图片 2026-05-15 21:39:21 +08:00
e4ce006de3 修改展示页的样式 2026-05-15 19:01:49 +08:00
liulong
39209849cc feat:新增光栅卡与镭射卡与新版UI的对接 2026-05-15 16:53:37 +08:00
80f3240b02 修改展示页的样式 2026-05-15 16:21:32 +08:00
be4574621d feat: 替换个人设置为图片 2026-05-15 15:32:20 +08:00
5edf153521 style: 藏品详细样式修改 2026-05-15 15:21:54 +08:00
liulong
15834c6719 fix: 修复光栅卡陀螺仪部分问题 2026-05-15 14:12:55 +08:00
liulong
c57bae20a9 Merge branch 'dev' of https://git.liantu.tech/xiaoyu/topfans into feat/dev/plugin-verify 2026-05-15 14:01:53 +08:00
f0b0df2ebf Merge branch 'cesia' into dev 2026-05-15 11:30:59 +08:00
7d119d34ba docs: 修复通知系统设计文档问题
修复内容:
- 修正章节编号 8.2 -> 8.3
- 查询逻辑增加 star_id 条件
- HTTP 接口说明增加 star_id 传递方式

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-15 11:29:04 +08:00
liulong
a5a20856b7 Merge branch 'dev' of https://git.liantu.tech/xiaoyu/topfans into feat/dev/plugin-verify 2026-05-15 11:28:07 +08:00
ec46004551 docs: 更新通知系统设计方案
主要修改:
- 添加 star_id 数据隔离字段到 notifications 和 notification_stats 表
- 更新索引包含 star_id
- 添加数据一致性保证章节(事务边界、点赞通知防重复唯一约束)
- 所有 API 接口参数增加 starID
- JSON data 示例增加 star_id 字段

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-15 11:25:29 +08:00
20f90d7120 docs: 添加通知系统设计方案
- 设计统一通知表 (notifications) 存储所有通知类型
- 设计通知统计表 (notification_stats) 支持未读数查询
- 定义 Notification Service 职责和 API 接口
- 支持今日/历史 Tab 查询
- 支持未读数统计、通知直达、批量操作

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-15 11:13:43 +08:00
liulong
a808c808d8 fix修复光栅卡陀螺仪问题 2026-05-15 10:08:39 +08:00
961f160535 docs:修改文档 2026-05-14 22:23:12 +08:00
c30e0430ca style:修改个人设置页面和藏品详细页的样式 2026-05-14 22:23:11 +08:00
zerosaturation
7d59dcbc04 feat: 实现灵感瀑布流双向滚动 Redis 缓存
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-14 22:23:11 +08:00
zerosaturation
1bc3097db2 feat: 添加灵感瀑布流 Redis 会话缓存操作
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-14 22:23:11 +08:00
zerosaturation
a5132670d4 docs: 添加灵感瀑布流 Redis 会话缓存实现计划
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-14 22:23:11 +08:00
zerosaturation
4f7a3ab71d feat: JWT 中间件添加 Token 黑名单检查
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-14 22:23:11 +08:00
zerosaturation
57ce9207cc feat: 初始化 Redis 连接
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-14 22:23:11 +08:00
zerosaturation
3bc3a9469f feat: 添加 Redis 配置项
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-14 22:23:11 +08:00
zerosaturation
f206759c95 deps: 添加 redis go-redis/v9 依赖
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-14 22:23:10 +08:00
zerosaturation
60d2628943 feat: 添加 Redis 客户端和 Token 黑名单模块
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-14 22:23:10 +08:00
zerosaturation
023441eee4 docs: 修复实现计划中的问题
- 修改 Redis 错误时 fail-closed(安全策略)
- 添加 Task 7 说明后续封禁 API 的扩展方向
- 添加 go.mod replace 说明

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-14 22:23:10 +08:00
zerosaturation
97d1d70fde docs: 添加 Redis Token 黑名单实现计划
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-14 22:23:10 +08:00
zerosaturation
1c58c079eb docs: 优化 Redis Token 黑名单设计
- 使用 SHA256 哈希代替原始 token 作为 Key
- 使用 JSON 格式存储 value,避免解析问题
- 添加输入验证

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-14 22:23:10 +08:00
zerosaturation
cb84f9565a docs: 添加 JWT Token 黑名单设计文档
设计 Redis Token 黑名单功能,用于账号封禁和强制下线场景。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-14 22:23:10 +08:00
3f8f27166c style:修改样式 2026-05-14 22:23:10 +08:00
b269fbd075 feat: 添加 ActivityRankingModal 活动榜单弹窗组件
- 新建 ActivityRankingModal.vue 组件,实现单活动排名展示
- TOP3 展示使用 TOP3Card 组件
- 排名列表使用 RankingListItem 组件
- 支持下拉刷新和滚动加载更多
- 当前用户栏固定底部显示
- ThemeBanner 添加 @tap 事件触发弹窗
- index.vue 集成 ActivityRankingModal

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-14 22:23:09 +08:00
a9d77b297f docs: 添加活动榜单弹窗设计文档
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-14 22:23:09 +08:00
b6d1d00a31 feat: 新增图片,修改应援消耗道具 2026-05-14 22:23:09 +08:00
9d9acadda1 feat: update contribution polling per latest spec - timestamp+id polling, combo_count, fading animation 2026-05-14 22:23:09 +08:00
ad03f3c3a1 feat: update API to use since_timestamp and since_id for polling 2026-05-14 22:23:09 +08:00
0c8067187b feat: integrate ContributionList in support-activity page 2026-05-14 22:23:09 +08:00
28707768c3 fix: use reactive array instead of Set for newRecordIds 2026-05-14 22:23:08 +08:00
b22ad01c36 feat: add ContributionList component for realtime display
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-14 22:23:08 +08:00
c00ac905ff feat: add useContributionPolling composable for realtime contributions
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-14 22:23:08 +08:00