Browse Source

修改isCheckMainUser判断类型

locky 3 years ago
parent
commit
c43eccc1b9
1 changed files with 1 additions and 1 deletions
  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,