|
@@ -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
|