Quellcode durchsuchen

小米推送跳转类型

locky vor 5 Monaten
Ursprung
Commit
304e076645
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 1 1
      Service/DevicePushService.py
  2. 1 1
      Service/PushService.py

+ 1 - 1
Service/DevicePushService.py

@@ -723,7 +723,7 @@ class DevicePushService:
                 'extra.event_type': event_type,
                 'extra.uid': uid,
                 'extra.channel': channel,
-                'jump_type': jump_type
+                'extra.jump_type': jump_type
             }
             if event_type in EventTypeEnumObj.DATA_PUSH_EVENT_TYPE_LIST.value:
                 data['extra.sound_uri'] = 'android.resource://com.ansjer.zccloud_ab/raw/phone_call'

+ 1 - 1
Service/PushService.py

@@ -362,7 +362,7 @@ class PushObject:
                 'extra.nickname': nickname,
                 'extra.uid': uid,
                 'extra.channel': channel,
-                'jump_type': jump_type
+                'extra.jump_type': jump_type
             }
             # if image:
             #     data['extra.notification_style_type'] = 2