fix: 抢单列表身份标签 club 回退与 dashou 称号
This commit is contained in:
@@ -3154,6 +3154,7 @@ class DashouDingdanHuoquView(APIView):
|
||||
SHENFEN_SHANGJIA,
|
||||
batch_identity_tags,
|
||||
)
|
||||
from jituan.services.club_context import resolve_effective_club_id
|
||||
from users.models import UserShangjia
|
||||
|
||||
identity_pairs = []
|
||||
@@ -3175,7 +3176,7 @@ class DashouDingdanHuoquView(APIView):
|
||||
if sj_uid:
|
||||
identity_pairs.append((sj_uid, SHENFEN_SHANGJIA))
|
||||
|
||||
club_id = resolve_club_id_from_request(request)
|
||||
club_id = resolve_effective_club_id(request, getattr(request, 'user', None))
|
||||
identity_tag_map = batch_identity_tags(club_id, identity_pairs) if identity_pairs else {}
|
||||
|
||||
# 12. 格式化返回数据
|
||||
|
||||
Reference in New Issue
Block a user