Browse Source

优化增加活动

peng 1 year ago
parent
commit
480c38b24a
1 changed files with 2 additions and 1 deletions
  1. 2 1
      AdminController/EvaluationActivityController.py

+ 2 - 1
AdminController/EvaluationActivityController.py

@@ -194,7 +194,8 @@ class EvaluationActivityView(View):
                                                                         carousel_image_url=carousel_image_url,
                                                                         carousel_image_url=carousel_image_url,
                                                                         is_show=is_show, issue=issue,
                                                                         is_show=is_show, issue=issue,
                                                                         original_price=original_price,
                                                                         original_price=original_price,
-                                                                        details_image_url=details_image_url)
+                                                                        details_image_url=details_image_url,
+                                                                        created_time=now_time, update_time=now_time)
                     for index, item in enumerate(activity_process):
                     for index, item in enumerate(activity_process):
                         ActivityTime.objects.create(activity_id=activity_qs.id, node_content=item['node_content'],
                         ActivityTime.objects.create(activity_id=activity_qs.id, node_content=item['node_content'],
                                                     start_time=item['start_time'], end_time=item['end_time'],
                                                     start_time=item['start_time'], end_time=item['end_time'],