Browse Source

添加设备有主用户时记录日志

zhangdongming 3 weeks ago
parent
commit
f203782b2a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Controller/EquipmentManagerV3.py

+ 2 - 0
Controller/EquipmentManagerV3.py

@@ -231,6 +231,8 @@ class EquipmentManagerV3(View):
                 }
             ]
             res['isMainUserExists'] = 1
+            LOGGER.info('add设备已绑定其他用户uid:{} type:{} 主:{} Now:{} nickName:{}'
+                        .format(UID, Type, vodPrimaryUserID, userID, NickName))
             return response.json(0, res)
 
         # 日志数据