Files
training/miniprogram
Pine 2914b40171 feat(miniprogram): 登录/资料改走平台 /auth(统一账号 + 平台 JWT)
阶段2:
- sendCode/phoneLogin/wxLogin/getMe/updateProfile 端点 /api/auth/*→/auth/*,
  pine_token 存平台 JWT;按平台 profile 契约映射 pine_user
  (username/name/avatar/phone/phoneBound/status/topics/source)。
- sendCode 兼容平台 stub_code→debugCode。
- bindPhone/wxPhoneBind 保留 /api/auth(阶段3 已使其读写平台 users + 验平台 JWT)。
- 手机绑定、业务(报名/签到/测评)使用平台 JWT 鉴权。

Co-Authored-By: Claude <noreply@anthropic.com>
2026-08-25 20:22:46 +08:00
..