Karlcarlo
49c4ce8183
feat(App身份): 新增 app_bind / app_identity 两个接口
- POST /api/wechat/app_bind(需登录):code → sns/oauth2/access_token
→ 落 wechat_user(user_type='app'),绑定到当前 uid;openid 唯一索引冲突时拒绝抢绑
- GET /api/wechat/app_identity(需登录):返回注入 H5 的规范身份
① 当前 uid 的 routine openid ② 当前 uid 的 app openid
③ app unionid 命中其他 uid 的 routine openid ④ 空(前端引导授权)
- 供 App(Android 一期)在短信登录后取 openid,宿主注入规则不变
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-26 19:55:56 +08:00
..
2026-03-06 20:14:23 +08:00
2026-03-06 20:14:23 +08:00
2026-03-06 20:14:23 +08:00
2026-10-26 19:55:56 +08:00
2026-10-26 17:08:55 +08:00