Explorar el Código

更新设备获取时区

lang hace 4 años
padre
commit
3eccff8a22
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      Controller/EquipmentStatus.py

+ 1 - 0
Controller/EquipmentStatus.py

@@ -115,6 +115,7 @@ def getTZ(request):
             print(uid)
             redisObject = RedisObject(db=7)
             data = redisObject.get_data(key=ip)
+            data = False
             if data:
                 info = json.loads(data)
                 return JsonResponse(status=200, data={'code': 0, 'msg': 'success', 'data': info})