|
@@ -263,16 +263,16 @@ class PushObject:
|
|
|
'extra.uid': uid,
|
|
|
'extra.channel': channel,
|
|
|
}
|
|
|
- if event_type in [606, 607]:
|
|
|
- data['extra.notification_style_type'] = 1
|
|
|
- data['extra.notification_style_button_left_name'] = '接听'
|
|
|
- data['extra.notification_style_button_left_notify_effect'] = 2
|
|
|
- data[
|
|
|
- 'extra.notification_style_button_left_intent_class'] = 'com.ansjer.zccloud_a.AJ_MainView.AJ_Home.AJMainActivity'
|
|
|
- data['extra.notification_style_button_right_name'] = '挂断'
|
|
|
- data['extra.notification_style_button_right_notify_effect'] = 2
|
|
|
- data[
|
|
|
- 'extra.notification_style_button_right_intent_class'] = 'com.ansjer.zccloud_a.AJ_MainView.AJ_Home.AJMainActivity'
|
|
|
+ # if event_type in [606, 607]:
|
|
|
+ # data['extra.notification_style_type'] = 1
|
|
|
+ # data['extra.notification_style_button_left_name'] = '接听'
|
|
|
+ # data['extra.notification_style_button_left_notify_effect'] = 2
|
|
|
+ # data[
|
|
|
+ # 'extra.notification_style_button_left_intent_class'] = 'com.ansjer.zccloud_a.AJ_MainView.AJ_Home.AJMainActivity'
|
|
|
+ # data['extra.notification_style_button_right_name'] = '挂断'
|
|
|
+ # data['extra.notification_style_button_right_notify_effect'] = 2
|
|
|
+ # data[
|
|
|
+ # 'extra.notification_style_button_right_intent_class'] = 'com.ansjer.zccloud_a.AJ_MainView.AJ_Home.AJMainActivity'
|
|
|
# if image:
|
|
|
# data['extra.notification_style_type'] = 2
|
|
|
# data['extra.notification_bigPic_uri'] = image
|