소스 검색

Revert "修改event_tag判断"

This reverts commit 14f8f318a1dde90cb22818f21336daf49dde931f.
peng 1 년 전
부모
커밋
7ed75cc81b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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_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']