Commit Graph

82 Commits

Author SHA1 Message Date
4e927451a9 未完成的文档 2026-04-14 14:38:16 +08:00
ad20197352 feat: 每日任务集成 2026-04-14 14:32:56 +08:00
8284999b3a docs: change TypeScript to JavaScript in frontend types
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-14 14:32:56 +08:00
4e2e867c06 docs: fix starbook refactor spec after review
- Fix category_name from "典藏" to "普通" for regular type
- Clarify 6 items max display (更多> not counted)
- Document cover_url_signed is generated on-the-fly, not stored
- Add star_id comes from JWT context note
- Document Gateway NULL→0 conversion for grade
- Add toChineseGrade helper function for frontend

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-14 14:32:56 +08:00
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
a5e3008819 feat: 增加health健康检查和替换前端跳转路由api 2026-04-14 00:10:24 +08:00
zerosaturation
65ad41d1a4 fix: 修改已知bug 2026-04-13 17:34:03 +08:00
zerosaturation
b25046f051 refactor: 修改确认框 2026-04-13 16:22:21 +08:00
zerosaturation
c7495ae42c refactor: 重构广场的页面 2026-04-13 16:22:21 +08:00
zerosaturation
3cb06033e2 refactor: 修改确认框 2026-04-13 16:16:41 +08:00
zerosaturation
58a2aa4668 refactor: 重构广场的页面 2026-04-13 16:16:41 +08:00
zerosaturation
43ac9a6d10 faet: 新增一个开发环境的热更新脚本 2026-04-13 16:11:17 +08:00
zerosaturation
4b817b320c feat: 新增运营活动购买道具提醒 2026-04-13 16:08:52 +08:00
zerosaturation
a5dd07c9cb fix: correct cleanup service order in dev.sh
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-13 12:48:02 +08:00
zerosaturation
2382ae880c feat: add signal trap and graceful shutdown to dev.sh
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-13 12:46:49 +08:00
zerosaturation
aad5a16ff9 feat: add main startup flow in dev.sh
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-13 12:45:32 +08:00
zerosaturation
24cdca20f8 feat: add restart_service and start_watcher functions
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-13 12:44:16 +08:00
zerosaturation
eb5097516c feat: add build_service and start_service functions
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-13 12:42:42 +08:00
zerosaturation
73d9b96998 feat: add dev.sh main framework header
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-13 12:41:23 +08:00
zerosaturation
2de9e1dd57 docs: fix hot-reload plan - timestamp debounce, PID files, cleanup
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-13 12:09:34 +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
zerosaturation
ca2fe80adb fix: 路径错误 2026-04-12 22:17:26 +08:00
zerosaturation
e4e788c3d3 fix: mock数据路径问题 2026-04-12 22:04:02 +08:00
zerosaturation
61880d605f feat :重构文档 2026-04-12 21:53:08 +08:00
zerosaturation
d17589236f feat :修改ios的样式 2026-04-12 21:24:23 +08:00
zerosaturation
9a2d597e2b feat: 修改遗留bug 2026-04-12 16:05:13 +08:00
zerosaturation
45e0ad0227 feat: 修改的铸造界面 2026-04-10 21:05:19 +08:00
de207465f4 样式图片 2026-04-10 18:36:59 +08:00
d2c4929113 文档 2026-04-10 16:17:45 +08:00
7cb6dae3af 文档 2026-04-10 13:11:58 +08:00
zerosaturation
6663df10e8 feat: docker修改 2026-04-10 12:54:44 +08:00
6e7b3b96f4 样式图 2026-04-10 12:51:32 +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
6f51cead6c feat: 部署diocker到服务器上 2026-04-08 20:48:38 +08:00
zerosaturation
656c8fefac feat: oss修改key 2026-04-08 13:43:11 +08:00
zerosaturation
eff7b8d6f0 feat: 增加手机号脱敏显示 2026-04-08 10:59:46 +08:00
zerosaturation
baf56d5ecf feat: 完善minimax调用图生图功能 2026-04-08 01:30:58 +08:00
zerosaturation
6a0f4cc26a fix: 前端拦截器支持 202 状态码
202 Accepted 用于异步任务创建(如图生图 job)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-08 01:30:58 +08:00
zerosaturation
575233b51f docs: 标记 Task 6 已完成(使用os.Getenv替代)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-08 01:30:57 +08:00
zerosaturation
965c37f2ff feat: 前端改为轮询模式 2026-04-08 01:30:57 +08:00
zerosaturation
e834029f6a feat: 注册图生图 API 路由 2026-04-08 01:30:57 +08:00
zerosaturation
40d5e597f6 feat: 添加 ImageGeneration 和 GetImageJob 接口 2026-04-08 01:30:57 +08:00
zerosaturation
76a5eaaad9 fix: 修复解压炸弹漏洞和goroutine泄漏
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-08 01:30:57 +08:00
zerosaturation
f43b06e13d fix: 修复 minimax_service 安全隐患和数据竞争
- 添加 HTTP 响应状态码检查,防止状态错误被忽略
- 添加 HTTP Client 结构体复用,避免每次创建新客户端
- 在 compressImageIfNeeded 中使用带 Timeout 的 Client
- 添加 URL scheme 校验,防止 SSRF 攻击
- 使用 LimitedReader 限制下载图片大小(10MB)
- 修复 GetJob 数据竞争,复制数据后返回

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-08 01:30:57 +08:00
zerosaturation
d09f1122ce fix: minimax_service 修复编译错误
- 使用 resize.Lanczos3 替代不存在的 resize.Lanczos
- 使用 os.Getenv 替代缺失的 config 方法

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-08 01:30:57 +08:00
zerosaturation
ed2acc3268 feat: 添加 MiniMax 图生图服务和任务管理
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-08 01:30:57 +08:00
zerosaturation
8ec1942e74 feat: 添加图生图 DTO
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-08 01:30:57 +08:00
zerosaturation
4bae8e9b64 fix: plan 添加 net/url import
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-08 01:30:57 +08:00