Browse Source

更新设备获取时区

lang 4 years ago
parent
commit
3eccff8a22
1 changed files with 1 additions and 0 deletions
  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})