Sfoglia il codice sorgente

增加推送间隔日志

peng 1 anno fa
parent
commit
638d16af6a
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      Controller/DetectControllerV2.py

+ 1 - 1
Controller/DetectControllerV2.py

@@ -160,7 +160,7 @@ class NotificationV2View(View):
 
 
 def push_and_save_data(**params):
-    TIME_LOGGER.info('{}开始异步推送'.format(params['uid']))
+    TIME_LOGGER.info('{}开始推送,是否未过推送间隔:{}'.format(params['uid'], params['app_push']))
     # 推送消息,生成推送数据列表
     result = DevicePushService.save_msg_push(**params)
     # 保存推送数据