jiazx0107@163.com
2023-12-07 9b5c86d852fd94c0f01497d7571b27419ab17c58
src/main/java/com/fzzy/gateway/GatewayRunner.java
@@ -20,11 +20,12 @@
    @Resource
    private ApiInitService apiInitService;
    @Autowired
    @Resource
    private MqttPublishService mqttPublishService;
    @Autowired
    @Resource
    private  GatewayTimerScheduled scheduled;
    @Override
    public void run(String... args) throws Exception {
@@ -39,6 +40,8 @@
        //更新设备缓存
        apiInitService.updateDeviceCache();
        //初始化车牌识别
        apiInitService.initAllLpr();
    }
}