浏览代码

修改isCheckMainUser判断类型

locky 3 年之前
父节点
当前提交
c43eccc1b9
共有 1 个文件被更改,包括 1 次插入1 次删除
  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,