|
|
|
@@ -267,7 +267,7 @@ def decrypt2(request, v='v2'):
|
|
267
|
267
|
activities = ActivityInfo.objects.filter(status=True).order_by('-pk')
|
|
268
|
268
|
coupon_infos = [act.coupon_info3 for act in activities if act.has_unexpired_activity(model.model_name)]
|
|
269
|
269
|
|
|
270
|
|
- if dupload or unbound:
|
|
|
270
|
+ if not dupload and not unbound:
|
|
271
|
271
|
lotterys = LotteryCampaignInfo.objects.filter(status=True)
|
|
272
|
272
|
if lotterys.exists():
|
|
273
|
273
|
active_lotterys = [lottery.data for lottery in lotterys if lottery.is_active() and model.model_uni_name in lottery.model_ids]
|