feat(onboarding): 新手引导完成按 设备+账号 去重(表/模型/仓储/端点/迁移/测试) #39

Closed
zhuzihao wants to merge 0 commits from feat/onboarding-completion into main
Member
  • onboarding_completion 表(user_id+device_id 唯一约束)+ model + repository
  • POST /api/v1/user/onboarding/complete 标记完成;登录响应 TokenWithUser.onboarding_completed
    (按登录请求带的 device_id 判定是否已走过引导,跨卸载重装稳定)
  • alembic 迁移 onboarding_completion(rebase 到最新 main 后已链在 coupon_daily_completion 之后,单 head)
  • docs/database 文档 + tests/test_onboarding.py

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com

- onboarding_completion 表(user_id+device_id 唯一约束)+ model + repository - POST /api/v1/user/onboarding/complete 标记完成;登录响应 TokenWithUser.onboarding_completed (按登录请求带的 device_id 判定是否已走过引导,跨卸载重装稳定) - alembic 迁移 onboarding_completion(rebase 到最新 main 后已链在 coupon_daily_completion 之后,单 head) - docs/database 文档 + tests/test_onboarding.py Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
zhuzihao added 1 commit 2026-06-10 18:42:02 +08:00
- onboarding_completion 表(user_id+device_id 唯一约束)+ model + repository
- POST /api/v1/user/onboarding/complete 标记完成;登录响应 TokenWithUser.onboarding_completed
  (按登录请求带的 device_id 判定是否已走过引导,跨卸载重装稳定)
- alembic 迁移 onboarding_completion(rebase 到最新 main 后已链在 coupon_daily_completion 之后,单 head)
- docs/database 文档 + tests/test_onboarding.py + run.bat(本地启动脚本)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
marco closed this pull request 2026-06-10 22:27:02 +08:00

Pull request closed

Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: WonderableAI/shaguabijia-app-server#39