集成积木大屏

main
HUOJIN\92525 2025-04-11 15:30:44 +08:00
parent 5931258a9c
commit 8b35f64655
3 changed files with 8 additions and 2 deletions

View File

@ -29,6 +29,7 @@ public class MvcConfig implements WebMvcConfigurer {
public void addInterceptors(InterceptorRegistry registry) {
registry.addInterceptor(adminInterceptor)
.excludePathPatterns(SwaggerConfig.SWAGGER_WHITELIST)
.excludePathPatterns("/jmreport/**","/drag/**","/jimubi/**")
.addPathPatterns("/**");
}

View File

@ -66,6 +66,9 @@ public class WebServerListener implements ApplicationListener<WebServerInitializ
String externalUrl = URLUtil.normalize(String.format("http://%s:%d%s", ip, port, contextPath), false, true);
String swaggerUrl = URLUtil.normalize(String.format("http://localhost:%d%s/swagger-ui/index.html", port, contextPath), false, true);
String knife4jUrl = URLUtil.normalize(String.format("http://localhost:%d%s/doc.html", port, contextPath), false, true);
String jiMuReportUrl = URLUtil.normalize(String.format("http://localhost:%d%s/jmreport/list", port, contextPath), false, true);
String jiMuBiUrl = URLUtil.normalize(String.format("http://localhost:%d%s/drag/list", port, contextPath), false, true);
log.warn("\n{}\n" +
"\t当前启动环境:\t{} , {}" +
"\n\t返回码初始化:\t完成{}个返回码初始化" +
@ -73,8 +76,10 @@ public class WebServerListener implements ApplicationListener<WebServerInitializ
"\n\t服务外网地址:\t{}" +
"\n\tSwagger地址:\t{}" +
"\n\tknife4j地址:\t{}" +
"\n\t积木报表:\t{}" +
"\n\t积木大屏:\t{}" +
"\n-------------------------------------------------------------------------------------\n",
title, profile, environmentEnum.getDesc(), codeCount, localhostUrl, externalUrl, swaggerUrl, knife4jUrl);
title, profile, environmentEnum.getDesc(), codeCount, localhostUrl, externalUrl, swaggerUrl, knife4jUrl,jiMuReportUrl, jiMuBiUrl);
}
/**

View File

@ -66,7 +66,7 @@ spring:
# 缓存实现类型
cache:
type: caffeine
type: redis
# tomcat 配置,主要用于 配置 访问日志(便于将来排查错误)
server: