瀏覽代碼

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

linhaohong 6 月之前
父節點
當前提交
aef7b3eefc
共有 1 個文件被更改,包括 1 次插入0 次删除
  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)