Эх сурвалжийг харах

Revert "修改event_tag判断"

This reverts commit 14f8f318a1dde90cb22818f21336daf49dde931f.
peng 1 жил өмнө
parent
commit
7ed75cc81b

+ 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_tag'] in [606, 607] else \
+            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'])
             for up in params['uid_set_push_list']:
                 appBundleId = up['appBundleId']