Browse Source

修复主次用户

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

+ 1 - 1
Controller/EquipmentManager.py

@@ -420,7 +420,7 @@ def addInterface(request):
                 # 判断是否有已绑定用户
                 if isCheckMainUser == '1' and isusermain:
                     res = {
-                        'id': id,
+                        'id': pk,
                         'userID': userID,
                         'NickName': NickName,
                         'UID': UID,