|
@@ -111,6 +111,7 @@ class NotificationV2View(View):
|
|
|
detect_interval = redis_list[0]['uid_set__detect_interval']
|
|
|
if not nickname:
|
|
|
nickname = uid
|
|
|
+ logger.info('{}推送nickname:{}'.format(uid, nickname))
|
|
|
if not have_dkey:
|
|
|
# 设置推送消息的时间间隔
|
|
|
if SERVER_TYPE != 'Ansjer.cn_formal_settings':
|
|
@@ -149,6 +150,7 @@ class NotificationV2View(View):
|
|
|
tz = 0
|
|
|
# 发送标题
|
|
|
msg_title = self.get_msg_title(appBundleId=appBundleId, nickname=nickname)
|
|
|
+ logger.info('{}推送标题{}'.format(uid, msg_title))
|
|
|
# 发送内容
|
|
|
msg_text = self.get_msg_text(channel=channel, n_time=n_time, lang=lang, tz=tz,
|
|
|
event_type=event_type, electricity=electricity)
|