#
Junjie
10 天以前 c8b0b10c6ac389701adbd6cc417a1e34e20143f3
src/main/java/com/zy/asrs/utils/Utils.java
@@ -89,6 +89,7 @@
    //获取设备日志采集时间
    public static int getDeviceLogCollectTime() {
        int defaultTime = 200;
        try {
        RedisUtil redisUtil = SpringUtils.getBean(RedisUtil.class);
        if (redisUtil == null) {
            return defaultTime;
@@ -106,5 +107,9 @@
        }
        return Integer.parseInt(deviceLogCollectTime);
        }catch (Exception e){
            e.printStackTrace();
        }
        return defaultTime;
    }
}