11bcfcd68b
docs: update starbook refactor spec with slot table and dynamic total_slots
...
- Add starbook_slots table (new, separate from booth_slots)
- Change total_slots from hardcoded 15 to dynamic fan_profiles.starbook_limit
- Clarify same asset_id cannot be registered as multiple types
- Add placed_at to SlotAsset proto and TypeScript
- Fix grade=0 vs NULL explanation in DB/API contract
- Update affected scope (4 new tables, new StarbookSlotRepository)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-14 14:32:56 +08:00
zerosaturation
a77e16a150
docs: translate hot-reload dev script spec to Chinese
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-13 12:02:12 +08:00
zerosaturation
127139439f
docs: add hot-reload dev script design spec
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-13 12:00:46 +08:00
ceb0159290
docs: update task management design based on review
...
修正内容:
- InitUserTasks 粒度:改为创建 onboarding_status + 每日任务进度
- ReportTaskEvent:从内部 RPC 改为移动端 API POST /api/tasks/report-event
- InitUserTasksRequest 增加 star_id 字段
- 每日任务流程:补充用户注册 → InitUserTasks 步骤
- 展示收益流程:补充 failed 记录对用户不可见的说明
- 展示收益响应:补充 star_id 字段
- activity-admin 收益记录页面:支持查看 failed 记录和手动补发
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-08 20:49:53 +08:00
770ca0e512
docs: add task management system design document
...
包含:
- 整体架构设计
- 数据库 ER 图和表结构
- 移动端 API 和 Dubbo 内部 RPC 定义
- 业务流程(每日任务、引导任务、展示收益)
- Worker 设计(Advisory Lock 每日重置 + 收益自动发放)
- activity-admin 页面规划
- 项目目录结构
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-08 20:49:53 +08:00
zerosaturation
286db74837
docs: 更新 MiniMax 设计文档,修复审核问题
...
- 修复时间戳不一致问题,统一使用毫秒时间戳
- 添加 CompletedAt 字段
- 添加 JobStatus 枚举类型
- 添加 HTTP 状态码表格
- 添加 SSRF 防护说明
- 添加轮询间隔(3秒)和超时(120秒)建议
- 添加任务清理机制(24h过期)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-08 01:30:57 +08:00
zerosaturation
cf7af5cfa5
docs: 添加 MiniMax 图生图 API 异步集成设计文档
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-08 01:30:57 +08:00