Browse Source

修改NVR通道推送问题

zhangdongming 9 tháng trước cách đây
mục cha
commit
090f206c4a
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      Service/DevicePushService.py

+ 2 - 1
Service/DevicePushService.py

@@ -182,7 +182,8 @@ class DevicePushService:
             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 \
                 cls.is_send_app_push(
-                    params['event_type'], params['event_tag'], params['app_push_config'], params['app_push'], uid)
+                    params['event_type'], params['event_tag'], params['app_push_config'], params['app_push'],
+                    uid, params['channel'])
 
             # 低功耗产品推送,休眠702,低电量704提醒,1023 ozi, 并且detection=0,0标识单事件类型,1标识多事件类型
             is_app_push = True if params['event_type'] in [702, 704, 1023] and params['detection'] == 0 else is_app_push