This commit is contained in:
2026-04-21 19:17:31 +08:00
parent d234d27cc0
commit 89129ef1f4
83 changed files with 13329 additions and 176 deletions

View File

@@ -222,8 +222,9 @@
1. 先按 `provider_unionid` 查;没有再按 `provider_uid`
2. 若 identity 已存在,则更新资料快照并写 `last_login_at`
3. identity 不存在,则创建一条新的 `wechat` identity
4.是首次微信登录,还要同步创建 `pending_bind_phone``user_account`
3.本次是按 `provider_unionid` 命中,但 `provider_uid` 已变化,则必须把新的 `provider_uid` 一并回写为最新主映射
4. identity 不存在,则创建一条新的 `wechat` identity
5. 若是首次微信登录,还要同步创建 `pending_bind_phone``user_account`
### 9.4 `POST /api/auth/wechat/bind-phone`