增加公共配置

This commit is contained in:
Wang 2025-12-25 09:43:50 +08:00
parent 831e51cb41
commit f50cbe3360

View File

@ -25,7 +25,6 @@ public class SeerTeacherApplicationBootStrap {
public static void main(String[] args) { public static void main(String[] args) {
SpringApplication app = new SpringApplication(SeerTeacherApplicationBootStrap.class); SpringApplication app = new SpringApplication(SeerTeacherApplicationBootStrap.class);
Environment env = app.run(args).getEnvironment(); Environment env = app.run(args).getEnvironment();
log.info("spring.mvc.pathmatch.matching-strategy={}", env.getProperty("spring.mvc.pathmatch.matching-strategy"));
String port = env.getProperty("server.port", "8087"); String port = env.getProperty("server.port", "8087");
String contextPath = env.getProperty("server.servlet.context-path", "/"); String contextPath = env.getProperty("server.servlet.context-path", "/");
log.info("----------------------------------------------------------"); log.info("----------------------------------------------------------");