chenjunkai %!s(int64=5) %!d(string=hai) anos
pai
achega
e0fdc9fe56
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      Controller/UserController.py

+ 1 - 0
Controller/UserController.py

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