fix: 抢单池展示只校验对应会员未过期,体验与正式同等
ddhq 不区分体验/正式;qiangdan 校验会员+过期;提现仍禁体验会员。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -337,10 +337,12 @@ class DashouXinxiAPIView(APIView):
|
||||
'chenghao': dashou_profile.chenghao or '',
|
||||
}
|
||||
|
||||
# 4. 查询会员信息(老端 clumber:huiyuanid + daoqi 字符串)
|
||||
# 4. 查询会员信息(老端 clumber:huiyuanid + daoqi,体验=正式)
|
||||
try:
|
||||
from jituan.services.huiyuan_bundle import build_user_clumber
|
||||
huiyuan_list = build_user_clumber(yonghuid)
|
||||
from jituan.services.club_context import resolve_effective_club_id
|
||||
cid = resolve_effective_club_id(request, request.user)
|
||||
huiyuan_list = build_user_clumber(yonghuid, club_id=cid)
|
||||
except Exception:
|
||||
huiyuan_list = []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user