Browse Source

更新设备获取时区

lang 4 năm trước cách đây
mục cha
commit
459559b2f5
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      Controller/EquipmentStatus.py

+ 0 - 1
Controller/EquipmentStatus.py

@@ -115,7 +115,6 @@ 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})