Explorar o código

修复主次用户

chenshibin %!s(int64=4) %!d(string=hai) anos
pai
achega
aa64426043
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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,