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

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
XingQueandCursor committed 2026-07-08 18:06:54 +08:00
1 parent 2225722ab5
commit 7fe49775b9
1 file changed
+3
+3
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