Commit Graph

231 Commits

Author SHA1 Message Date
zerosaturation
c5bf9df955 feat: 经济系统重构 - 任务服务与画廊服务解耦
- galleryService 独立启动,配置 task-service-url
- 新增 taskService 到 galleryService 的 RPC 调用
- 更新 proto 文件并重新生成代码
- 新增展览唯一约束迁移脚本
- 修复多个 service 的配置和依赖关系

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-15 23:12:02 +08:00
2c2e707971 修改展示页的样式 2026-05-15 23:12:02 +08:00
ff24cd55cd 修改展示页的样式 2026-05-15 23:12:02 +08:00
4d10fc4fb3 feat: 替换个人设置为图片 2026-05-15 23:12:02 +08:00
f5de8927fb style: 藏品详细样式修改 2026-05-15 23:12:02 +08:00
6d52af4b98 docs: 修复通知系统设计文档问题
修复内容:
- 修正章节编号 8.2 -> 8.3
- 查询逻辑增加 star_id 条件
- HTTP 接口说明增加 star_id 传递方式

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

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-15 23:12:02 +08:00
c0c5426780 feat: 新增图片,修改应援消耗道具 2026-05-15 23:12:02 +08:00
liulong
a90f7155c6 feat新增光栅卡和镭射卡 2026-05-15 23:06:51 +08:00
liulong
d6b0397230 chore: 归档当前现有代码,准备新建分支开发插件验证 2026-05-15 23:06:51 +08:00
15852260e6 docs:修改文档 2026-05-15 23:06:50 +08:00
af74dd5aad style:修改个人设置页面和藏品详细页的样式 2026-05-15 23:06:50 +08:00
zerosaturation
3ef3510303 feat:修改展示收益 2026-05-15 11:49:00 +08:00
zerosaturation
2a0faeb835 feat: 实现灵感瀑布流双向滚动 Redis 缓存
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-15 11:49:00 +08:00
zerosaturation
2b4077c0cd feat: 添加灵感瀑布流 Redis 会话缓存操作
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-15 11:49:00 +08:00
zerosaturation
29becda3bc docs: 添加灵感瀑布流 Redis 会话缓存实现计划
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-15 11:49:00 +08:00
zerosaturation
7d807d395b feat: JWT 中间件添加 Token 黑名单检查
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-15 11:49:00 +08:00
zerosaturation
5c46ae660f feat: 初始化 Redis 连接
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-15 11:49:00 +08:00
zerosaturation
e599f8a349 feat: 添加 Redis 配置项
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-15 11:49:00 +08:00
zerosaturation
2ebb4a3a4d deps: 添加 redis go-redis/v9 依赖
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-15 11:49:00 +08:00
zerosaturation
07b3520e6e feat: 添加 Redis 客户端和 Token 黑名单模块
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-15 11:49:00 +08:00
zerosaturation
f4f987d068 docs: 修复实现计划中的问题
- 修改 Redis 错误时 fail-closed(安全策略)
- 添加 Task 7 说明后续封禁 API 的扩展方向
- 添加 go.mod replace 说明

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

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

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

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-15 11:49:00 +08:00
e106a490ce docs: 添加活动榜单弹窗设计文档
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-15 11:49:00 +08:00
zerosaturation
74182ad662 feat: 新增经济系统 2026-05-14 15:59:07 +08:00
1af0a0527a feat: 新增图片,修改应援消耗道具 2026-05-14 12:17:50 +08:00
7e1da61397 feat: update contribution polling per latest spec - timestamp+id polling, combo_count, fading animation 2026-05-14 12:16:35 +08:00
ba075fffd3 feat: update API to use since_timestamp and since_id for polling 2026-05-14 12:09:34 +08:00
cb98cd6cb6 feat: integrate ContributionList in support-activity page 2026-05-14 11:31:41 +08:00
0ef2840f00 fix: use reactive array instead of Set for newRecordIds 2026-05-14 11:29:51 +08:00
a2052b673c feat: add ContributionList component for realtime display
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-14 11:26:46 +08:00
cb96326b3d feat: add useContributionPolling composable for realtime contributions
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-14 11:15:20 +08:00
f3b11c5ceb fix: use activities (plural) for consistency with other activity APIs 2026-05-14 11:13:24 +08:00
0f95fef939 feat: add getActivityContributionsLatestApi for realtime contributions 2026-05-14 11:09:09 +08:00
6e09afe843 feat: 替换字体 2026-05-13 16:34:50 +08:00
zerosaturation
8b03809c7a feat: 修改活动小按钮改为动态 2026-05-13 14:41:17 +08:00
zerosaturation
e81ef0a375 fix:修改瀑布流ios的抖动现象 2026-05-13 13:03:45 +08:00
zerosaturation
36e36b07c2 feat: 修改瀑布流ios抖动现象 2026-05-12 22:56:20 +08:00
6a6233f2de feat: 添加星卡选中的二级菜单 2026-05-12 22:32:24 +08:00
f3fe5a37d3 image: 设计图 2026-05-12 17:43:49 +08:00
f6170eb019 image: 设计图 2026-05-12 17:39:24 +08:00
292d7f076c fix: 会误触菜单样式 2026-05-12 17:18:01 +08:00
023d708bf9 feat: 新增未展览点赞提示 2026-05-12 16:50:25 +08:00
zerosaturation
11df4cd8e9 feat:修改主页面滚动效果 2026-05-12 16:25:03 +08:00
08225a7a79 docs: 修改文档 2026-05-12 14:06:02 +08:00