Browse Source

设备转移 不是主用户无法转移2

chenshibin 4 years ago
parent
commit
e989aafb5a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Controller/CloudTest.py

+ 1 - 1
Controller/CloudTest.py

@@ -78,7 +78,7 @@ class cloudTestView(View):
             main_exist = Device_Info.objects.filter(UID=uid, vodPrimaryUserID='', vodPrimaryMaster='')
             vodPrimaryUserID = ''
             vodPrimaryMaster = ''
-            if not main_exist.exists():
+            if main_exist.exists():
                 vodPrimaryUserID = newUserID
                 vodPrimaryMaster = newUserName
             else: