chenjunkai 7 年之前
父节点
当前提交
09a2017cca
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      Controller/EquipmentManager.py

+ 3 - 3
Controller/EquipmentManager.py

@@ -39,9 +39,9 @@ def addNewUserEquipment(userID, deviceContent, bulk = False):
             else:
                 UID = deviceData.get('UID', None)
                 if UID != None:
-                    is_bind = Device_Info.objects.filter(UID = UID,isShare=False)
-                    if is_bind:
-                        return ResponseFormal(175)
+                    # is_bind = Device_Info.objects.filter(UID = UID,isShare=False)
+                    # if is_bind:
+                    #     return ResponseFormal(175)
                     dValid = Device_Info.objects.filter(userID = userID, UID = UID)
                     if dValid:
                         return ResponseFormal(174)