diff --git a/users/views/auth.py b/users/views/auth.py index 85e3b56..954a716 100644 --- a/users/views/auth.py +++ b/users/views/auth.py @@ -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