Browse Source

修改推送日志表名

lang 3 years ago
parent
commit
433c22510f
1 changed files with 4 additions and 4 deletions
  1. 4 4
      Controller/AiController.py

+ 4 - 4
Controller/AiController.py

@@ -46,7 +46,7 @@ from Controller.CheckUserData import DataValid
 from Model.models import Device_Info, Order_Model, Store_Meal, VodHlsModel, OssCrdModel, UID_Bucket, StsCrdModel, \
     ExperienceContextModel, Pay_Type, CDKcontextModel, Device_User, SysMassModel, SysMsgModel, UidPushModel, \
     Unused_Uid_Meal, UIDMainUser, UserModel, PromotionRuleModel, VideoPlaybackTimeModel, CloudLogModel, CouponModel, \
-    AiStoreMeal, AiService, UidSetModel, Ai_Push_Info, iotdeviceInfoModel, AiProcessTime
+    AiStoreMeal, AiService, UidSetModel, Ai_Push_Info, iotdeviceInfoModel
 from Object.AWS.S3Email import S3Email
 from Object.AliPayObject import AliPayObject
 from Object.AliSmsObject import AliSmsObject
@@ -652,9 +652,9 @@ class AiView(View):
             if c_res and d_res:
                 logger.info('upload-----S3----success')
                 count_time = int(time.time()) - receiveTime
-                AiProcessTime.objects.create(detectTime=n_time, receiveTime=receiveTime, aiTime=ai_start_time,
-                                             aiEndTime=ai_end_time, pushTime=jpush_start_time,
-                                             pushEndTime=jpush_end_time, serverCountTime=count_time)
+                # AiProcessTime.objects.create(detectTime=n_time, receiveTime=receiveTime, aiTime=ai_start_time,
+                #                              aiEndTime=ai_end_time, pushTime=jpush_start_time,
+                #                              pushEndTime=jpush_end_time, serverCountTime=count_time)
                 return JsonResponse(status=200, data='success', safe=False)
             return JsonResponse(status=500, data='fail', safe=False)