Jelajahi Sumber

fcm推送jump_type改为字符串

locky 4 bulan lalu
induk
melakukan
887ab6ff9c
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      Service/PushService.py

+ 1 - 1
Service/PushService.py

@@ -218,7 +218,7 @@ class PushObject:
             event_type = str(event_type)
             n_time = str(n_time)
             # 跳转类型
-            jump_type = CommonService.get_jump_type(event_type)
+            jump_type = str(CommonService.get_jump_type(event_type))
             push_data = {'alert': msg_text, 'msg': '', 'sound': 'sound.aif', 'zpush': '1',
                          'received_at': n_time, 'event_time': n_time, 'event_type': event_type, 'nickname': nickname,
                          'uid': uid, 'channel': channel, 'jump_type': jump_type