This commit is contained in:
2026-07-10 14:04:32 +08:00
11 changed files with 631 additions and 126 deletions

View File

@@ -221,8 +221,8 @@ class UserInfoUpdateView(APIView):
else:
code = str(code or '').strip()
# 认证页仅上传头像+手机号,不带昵称
is_phone_auth_flow = bool(av) and not nick
# 手机号强制认证页:同时带头像 + shoujihao_code且不带 nicheng资料编辑页会带昵称
is_phone_auth_flow = bool(av) and bool(code) and not nick
phone_error = None
if is_phone_auth_flow and not code: