|
@@ -150,7 +150,6 @@ class DevicePushService:
|
|
|
@return: bool
|
|
|
"""
|
|
|
uid = params['uid']
|
|
|
- LOGGING.info('{}进入推送线程'.format(uid))
|
|
|
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(
|
|
@@ -315,6 +314,7 @@ class DevicePushService:
|
|
|
algorithm = True
|
|
|
if not algorithm:
|
|
|
return ',' + str(event_type) + ','
|
|
|
+ LOGGING.info('HCHWH7P8R4HHLZLK111A进入get_event_tag')
|
|
|
event_res = DEVICE_EVENT_TYPE.get(event_type, 0)
|
|
|
if event_res > 0:
|
|
|
return ',' + str(event_res) + ','
|