fix: dashouzhuce返回dashoustatus供前端识别注册成功

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
XingQue
2026-07-08 18:06:54 +08:00
parent 2225722ab5
commit 7fe49775b9

View File

@@ -674,6 +674,9 @@ class DashouZhuceView(APIView):
huiyuan_goumai_list = build_auth_clumber(current_user.UserUID, club_id=cid)
data['clumber'] = huiyuan_goumai_list
data['dashoustatus'] = 1
data['guanshistatus'] = 1 if hasattr(current_user, 'GuanshiProfile') else 0
data['shangjiastatus'] = 1 if hasattr(current_user, 'ShangjiaProfile') else 0
return data