peng 1 anno fa
parent
commit
46f9538815
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      Service/DevicePushService.py

+ 1 - 1
Service/DevicePushService.py

@@ -151,7 +151,6 @@ class DevicePushService:
         """
         uid = params['uid']
         params['event_tag'] = cls.get_event_tag(params['ai_type'], params['event_type'], params['detection'])
-        LOGGING.info('{}进入get_event_tag'.format(uid))
         is_app_push = True if params['event_type'] in [606, 607] else \
             cls.is_send_app_push(
                 params['event_type'], params['event_tag'], params['app_push_config'], params['app_push'], uid)
@@ -160,6 +159,7 @@ class DevicePushService:
         is_app_push = True if params['event_type'] in [702, 704] and params['detection'] == 0 else is_app_push
         redis_obj = RedisObject(3)
         # 推送
+        LOGGING.info('{}is_app_push{}'.format(uid, is_app_push))
         if is_app_push:
             msg_key = 'PUSH:MSG:IMAGE:{}:{}:{}'.format(params['uid'], params['channel'], params['n_time'])
             d_params = {'is_st': params['is_st'], 'storage_location': params['storage_location'],