From be294d20447c8927d54cf507eab4ad3b509c2dce Mon Sep 17 00:00:00 2001 From: liyongde <1419499670@qq.com> Date: Thu, 11 May 2023 13:43:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B5=8B=E8=AF=95=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nladmin-system/nlsso-server/src/main/java/org/nl/AppRun.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nladmin-system/nlsso-server/src/main/java/org/nl/AppRun.java b/nladmin-system/nlsso-server/src/main/java/org/nl/AppRun.java index f125113..a6c2992 100644 --- a/nladmin-system/nlsso-server/src/main/java/org/nl/AppRun.java +++ b/nladmin-system/nlsso-server/src/main/java/org/nl/AppRun.java @@ -4,6 +4,7 @@ import cn.dev33.satoken.annotation.SaIgnore; import com.alicp.jetcache.anno.config.EnableCreateCacheAnnotation; import com.alicp.jetcache.anno.config.EnableMethodCache; import io.swagger.annotations.Api; +import lombok.extern.slf4j.Slf4j; import org.mybatis.spring.annotation.MapperScan; import org.nl.config.SpringContextHolder; import org.springframework.boot.SpringApplication; @@ -24,6 +25,7 @@ import org.springframework.web.bind.annotation.RestController; * @author ldjun * @date 2021/2/22 9:20:19 */ +@Slf4j @EnableAsync @RestController @Api(hidden = true) @@ -62,6 +64,7 @@ public class AppRun { @GetMapping("/") @SaIgnore public String index() { + log.info("后台项目已启动"); return "Backend service started successfully"; } }