From a31a452b9999ba3c811c36b5cb1b3ec0c18d037d Mon Sep 17 00:00:00 2001 From: jiazx0107@163.com <jiazx0107@163.com> Date: 星期三, 08 十一月 2023 02:23:38 +0800 Subject: [PATCH] 提交MQTT相关功能 --- src/main/java/com/fzzy/gateway/hx2023/service/ApiInitService.java | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/fzzy/gateway/hx2023/service/ApiInitService.java b/src/main/java/com/fzzy/gateway/hx2023/service/ApiInitService.java index e98cafa..f9b093f 100644 --- a/src/main/java/com/fzzy/gateway/hx2023/service/ApiInitService.java +++ b/src/main/java/com/fzzy/gateway/hx2023/service/ApiInitService.java @@ -1,19 +1,21 @@ package com.fzzy.gateway.hx2023.service; +import com.bstek.dorado.annotation.Expose; import com.fzzy.gateway.api.GatewayRemoteManager; import com.fzzy.gateway.api.GatewayRemoteService; import com.fzzy.gateway.entity.GatewayConf; import com.fzzy.gateway.service.GatewayConfService; -import lombok.extern.slf4j.Slf4j; + + import org.springframework.stereotype.Component; import javax.annotation.Resource; + import java.util.List; /** * 褰撳墠鎺ュ彛锛屽垵濮嬪寲鐩稿叧 */ -@Slf4j @Component public class ApiInitService { @@ -23,6 +25,10 @@ private GatewayRemoteManager gatewayRemoteManager; + /** + * apiInitService#init + */ + @Expose public void init() { List<GatewayConf> list = confService.listAll(); @@ -38,5 +44,7 @@ } } + + } -- Gitblit v1.9.3