fix: dashouzhuce返回dashoustatus供前端识别注册成功
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user