|
|
@@ -274,8 +274,12 @@ def consumer_info_api(request):
|
274
|
274
|
test_user=False,
|
275
|
275
|
).exists()
|
276
|
276
|
|
277
|
|
- act = ActivityInfo.objects.filter(status=True).order_by('-pk').first()
|
278
|
|
- during_activity = True if act and act.has_unexpired_activity(model.model_uni_name) else False
|
|
277
|
+ if dupload:
|
|
278
|
+ act = None
|
|
279
|
+ during_activity = False
|
|
280
|
+ else:
|
|
281
|
+ act = ActivityInfo.objects.filter(status=True).order_by('-pk').first()
|
|
282
|
+ during_activity = True if act and act.has_unexpired_activity(model.model_uni_name) else False
|
279
|
283
|
|
280
|
284
|
# 记录用户信息提交记录
|
281
|
285
|
log = ConsumeInfoSubmitLogInfo.objects.create(
|