Commit Graph

11 Commits

Author SHA1 Message Date
nepiedg fd097729d7 feat: 戒烟成就、梦想图标预设、打卡统计与依赖注入调整
- 成就系统、连续打卡天数计算、管理后台成就 CRUD
- 梦想目标图标预设 DreamPreset 与用户端 dream-presets 接口
- 管理后台梦想图标 CRUD;戒烟打卡 summary 修正
- 忽略根目录编译产物 /api

Made-with: Cursor
2026-04-04 14:55:50 +08:00
nepiedg 1c0aeb152a feat(marketing): user profile update, ad placement management, logo limits
- Add PUT /auth/profile endpoint for nickname and avatar updates
- Add ad_placements table and CRUD admin API for managing ad units
- Add GET /marketing/ad-config public API for mini-program to fetch ad config
- Reduce logo limit from 10 to 3 per user, add 2MB file size validation

Made-with: Cursor
2026-04-04 04:02:06 +08:00
nepiedg 1eab1b99c1 feat: rename qiniu to oss, add admin upload proxy with thumbnail, add dev-login
- Rename all QINIU_* config/code/docs to OSS_* to match actual Alibaba Cloud OSS
- Refactor upload module from internal/common/qiniu to internal/common/upload
- Add backend proxy upload endpoint (POST /api/admin/marketing/upload) to avoid CORS
- Auto-generate compressed thumbnail (800px, JPEG 80%) on admin image upload
- Add dev-login endpoint (POST /api/v1/auth/dev-login) for H5 debugging
- Add imageutil package for server-side image resizing

Made-with: Cursor
2026-04-04 02:52:16 +08:00
root a4b466744c feat(admin): add fa_smoke CRUD APIs with Chinese comments (#45) 2026-03-10 17:29:36 +08:00
root 2ddb2403e4 feat(admin): add watermark table list APIs (#44) 2026-03-10 17:02:53 +08:00
root 6f1f75d983 feat(admin): complete settings APIs and password update flow 2026-03-10 16:40:51 +08:00
root 59508efb05 feat: move marketing admin to /api/admin and remove built-in page 2026-03-10 01:14:30 +08:00
root 386877da9a feat: 新增admin用户与会员管理接口 2026-03-09 22:44:05 +08:00
root 7591a443d9 feat: 完成后台Issue#9 小程序管理接口模块 2026-03-09 19:26:25 +08:00
root bd1e644ef5 feat: 完成后台Issue#6 数据统计接口模块 2026-03-09 19:26:07 +08:00
root 54cf7ea37f feat: 完成后台Issue#4 管理员认证接口模块 2026-03-09 19:25:44 +08:00