Explorar el Código

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

zhangdongming hace 3 semanas
padre
commit
f203782b2a
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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)
 
         # 日志数据