|
@@ -436,7 +436,7 @@ class AiView(View):
|
|
|
return response.json(173)
|
|
|
|
|
|
effective_day = ai_store_meal_qs[0]['effective_day']
|
|
|
- endTime = nowTime + effective_day * 24 * 60 * 60 # 套餐结束时间
|
|
|
+ endTime = int(time.time()) + effective_day * 24 * 60 * 60 # 套餐结束时间
|
|
|
ai_cn_store_meal_qs = AiStoreMeal.objects.filter(id=rank, lang__lang='cn', is_show=1). \
|
|
|
values('lang__content', 'lang__title')
|
|
|
if ai_cn_store_meal_qs.exists():
|