Переглянути джерело

fcm推送jump_type改为字符串

locky 4 місяців тому
батько
коміт
887ab6ff9c
1 змінених файлів з 1 додано та 1 видалено
  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