fix: 抢单池展示只校验对应会员未过期,体验与正式同等

ddhq 不区分体验/正式;qiangdan 校验会员+过期;提现仍禁体验会员。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
XingQue
2026-07-08 15:21:01 +08:00
parent 7edb8f22cb
commit bcfa30d5de
2 changed files with 41 additions and 33 deletions

View File

@@ -337,10 +337,12 @@ class DashouXinxiAPIView(APIView):
'chenghao': dashou_profile.chenghao or '',
}
# 4. 查询会员信息(老端 clumberhuiyuanid + daoqi 字符串
# 4. 查询会员信息(老端 clumberhuiyuanid + 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 = []