chenshibin 4 rokov pred
rodič
commit
aa64426043
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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,