瀏覽代碼

更新设备获取时区

lang 4 年之前
父節點
當前提交
3eccff8a22
共有 1 個文件被更改,包括 1 次插入0 次删除
  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})