jiazx0107@163.com
2023-11-18 41cd6c8db40bceb08290828ae0d4fc5caeea7147
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();
    }
}