Sfoglia il codice sorgente

修复初始化设备配置信息中推送信息有误问题

linhaohong 6 mesi fa
parent
commit
aef7b3eefc
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      Controller/UserController.py

+ 1 - 0
Controller/UserController.py

@@ -2537,6 +2537,7 @@ class InitInfoView(View):
         if m_code[:4] == 'iOS_':
             m_code = m_code[4:]
         if all([token_val, push_type, appBundleId, userID]):
+            push_type = int(push_type)
             self.save_push_config(userID, appBundleId, push_type, token_val, m_code, lang, tz)
             self.save_or_creat_uid_push(userID, appBundleId, push_type, token_val, m_code, lang, tz, now_time,
                                         jg_token_val)