Explorar o código

修改isCheckMainUser判断类型

locky %!s(int64=3) %!d(string=hai) anos
pai
achega
c43eccc1b9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Controller/EquipmentManagerV3.py

+ 1 - 1
Controller/EquipmentManagerV3.py

@@ -326,7 +326,7 @@ class EquipmentManagerV3(View):
                     isusermain = True
 
                 # 判断是否有已绑定用户
-                if isCheckMainUser == '1' and isusermain:
+                if isCheckMainUser == 1 and isusermain:
                     res = {
                         'id': id,
                         'userID': userID,