Pārlūkot izejas kodu

修改event_tag判断

peng 1 gadu atpakaļ
vecāks
revīzija
14f8f318a1
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      Service/DevicePushService.py

+ 1 - 1
Service/DevicePushService.py

@@ -154,7 +154,7 @@ class DevicePushService:
         # push_permission = True 多通道权限限制接收
         try:
             params['event_tag'] = cls.get_event_tag(params['ai_type'], params['event_type'], params['detection'])
-            is_app_push = True if params['event_type'] in [606, 607] else \
+            is_app_push = True if params['event_tag'] in [606, 607] else \
                 cls.is_send_app_push(params['event_type'], params['event_tag'], params['app_push_config'])
             for up in params['uid_set_push_list']:
                 appBundleId = up['appBundleId']