浏览代码

套餐转移 不是主用户无法转移2

locky 4 年之前
父节点
当前提交
826c6cc289
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Controller/CloudTest.py

+ 1 - 0
Controller/CloudTest.py

@@ -106,6 +106,7 @@ class cloudTestView(View):
             vodPrimaryUserID = old_deviceInfo_qs[0]['vodPrimaryUserID']
             if vodPrimaryUserID != '' and vodPrimaryUserID != userID:
                 return response.json(10038)
+            vodPrimaryUserID = userID
             vodPrimaryMaster = ModelService.get_user_name(userID)
 
             new_isExist = new_deviceInfo_qs[0]['isExist']