Browse Source

push_type

chenjunkai 5 years ago
parent
commit
e0fdc9fe56
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Controller/UserController.py

+ 1 - 0
Controller/UserController.py

@@ -1270,6 +1270,7 @@ class InitInfoView(View):
         # region = request_dict.get('region', '')  # 语言区域
         nowTime = int(time.time())
         if all([token_val, push_type, appBundleId]):
+            push_type = int(push_type)
             if push_type == 0:
                 if appBundleId not in APNS_CONFIG.keys():
                     return response.json(904)