|
@@ -397,9 +397,9 @@ class DevicePushService:
|
|
|
send_text = msg_type
|
|
|
else:
|
|
|
if device_type in MULTI_CHANNEL_TYPE_LIST:
|
|
|
- send_text = '{} 通道:{} 日期:{}'.format(msg_type, channel, n_date)
|
|
|
+ send_text = '{} 通道:{}'.format(msg_type, channel)
|
|
|
else:
|
|
|
- send_text = '{} 日期:{}'.format(msg_type, n_date)
|
|
|
+ send_text = '{}'.format(msg_type)
|
|
|
else:
|
|
|
if event_type == 51:
|
|
|
msg_type = 'Screen change detected'
|
|
@@ -458,9 +458,9 @@ class DevicePushService:
|
|
|
send_text = msg_type
|
|
|
else:
|
|
|
if device_type in MULTI_CHANNEL_TYPE_LIST:
|
|
|
- send_text = '{} channel:{} date:{}'.format(msg_type, channel, n_date)
|
|
|
+ send_text = '{} channel:{}'.format(msg_type, channel)
|
|
|
else:
|
|
|
- send_text = '{} date:{}'.format(msg_type, n_date)
|
|
|
+ send_text = '{}'.format(msg_type)
|
|
|
return send_text
|
|
|
|
|
|
@staticmethod
|