src/main/java/com/whyc/App.java
@@ -32,7 +32,7 @@ private Integer httpPort; @Bean @ConditionalOnProperty(prefix = "spring.profiles",name = "active",havingValue = "prod-ssl") //@ConditionalOnProperty(prefix = "spring.profiles",name = "active",havingValue = "prod-ssl") public ServletWebServerFactory servletContainer() { TomcatServletWebServerFactory tomcat = new TomcatServletWebServerFactory(); // 添加http