|
@@ -363,7 +363,7 @@ class DevicePushService:
|
|
if device_type in MULTI_CHANNEL_TYPE_LIST:
|
|
if device_type in MULTI_CHANNEL_TYPE_LIST:
|
|
send_text = '{} 通道:{} 日期:{}'.format(msg_type, channel, n_date)
|
|
send_text = '{} 通道:{} 日期:{}'.format(msg_type, channel, n_date)
|
|
else:
|
|
else:
|
|
- send_text = '{} 日期:{}'.format(msg_type, channel, n_date)
|
|
|
|
|
|
+ send_text = '{} 日期:{}'.format(msg_type, n_date)
|
|
else:
|
|
else:
|
|
if event_type == 704:
|
|
if event_type == 704:
|
|
msg_type = 'Battery remaining ' + electricity
|
|
msg_type = 'Battery remaining ' + electricity
|
|
@@ -395,7 +395,7 @@ class DevicePushService:
|
|
if device_type in MULTI_CHANNEL_TYPE_LIST:
|
|
if device_type in MULTI_CHANNEL_TYPE_LIST:
|
|
send_text = '{} channel:{} date:{}'.format(msg_type, channel, n_date)
|
|
send_text = '{} channel:{} date:{}'.format(msg_type, channel, n_date)
|
|
else:
|
|
else:
|
|
- send_text = '{} date:{}'.format(msg_type, channel, n_date)
|
|
|
|
|
|
+ send_text = '{} date:{}'.format(msg_type, n_date)
|
|
return send_text
|
|
return send_text
|
|
|
|
|
|
@staticmethod
|
|
@staticmethod
|