瀏覽代碼

修复主次用户

chenshibin 4 年之前
父節點
當前提交
aa64426043
共有 1 個文件被更改,包括 1 次插入1 次删除
  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,