|
@@ -151,7 +151,6 @@ class DevicePushService:
|
|
|
"""
|
|
|
uid = params['uid']
|
|
|
params['event_tag'] = cls.get_event_tag(params['ai_type'], params['event_type'], params['detection'])
|
|
|
- LOGGING.info('{}进入get_event_tag'.format(uid))
|
|
|
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)
|
|
@@ -160,6 +159,7 @@ class DevicePushService:
|
|
|
is_app_push = True if params['event_type'] in [702, 704] and params['detection'] == 0 else is_app_push
|
|
|
redis_obj = RedisObject(3)
|
|
|
# 推送
|
|
|
+ LOGGING.info('{}is_app_push{}'.format(uid, is_app_push))
|
|
|
if is_app_push:
|
|
|
msg_key = 'PUSH:MSG:IMAGE:{}:{}:{}'.format(params['uid'], params['channel'], params['n_time'])
|
|
|
d_params = {'is_st': params['is_st'], 'storage_location': params['storage_location'],
|