|
@@ -162,7 +162,7 @@ class DevicePushService:
|
|
|
|
|
|
# 保存系统消息或推送消息数据
|
|
|
user_id = up['userID_id']
|
|
|
- if user_id not in saved_user_id_list: # 防止同一用户重复写入数据
|
|
|
+ if user_id not in saved_user_id_list: # 防止同一用户重复写入数据
|
|
|
# 系统消息
|
|
|
if params['is_sys_msg']:
|
|
|
sys_msg_text = cls.get_msg_text(channel=params['channel'], n_time=params['n_time'], lang=lang,
|
|
@@ -752,6 +752,9 @@ class DevicePushService:
|
|
|
@return: True|False
|
|
|
"""
|
|
|
try:
|
|
|
+ LOGGING.info(
|
|
|
+ 'is_send_app_push函数参数打印:uid:{} event_type:{} event_tag:{} app_push_config:{} msg_interval:{}'.format(
|
|
|
+ uid, event_type, event_tag, app_push_config, msg_interval))
|
|
|
if not app_push_config:
|
|
|
return True
|
|
|
|