| | |
| | | package org.jeecg; |
| | | |
| | | import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.flowable.spring.boot.eventregistry.EventRegistryServicesAutoConfiguration; |
| | | import org.jeecg.common.util.oConvertUtils; |
| | | import org.springframework.boot.SpringApplication; |
| | | import org.springframework.boot.actuate.autoconfigure.security.servlet.ManagementWebSecurityAutoConfiguration; |
| | |
| | | */ |
| | | @Slf4j |
| | | @SpringBootApplication(exclude = { DataSourceAutoConfiguration.class, |
| | | ManagementWebSecurityAutoConfiguration.class, EventRegistryServicesAutoConfiguration.class}) |
| | | ManagementWebSecurityAutoConfiguration.class, DruidDataSourceAutoConfigure.class}) |
| | | public class JeecgSystemApplication extends SpringBootServletInitializer { |
| | | |
| | | @Override |
| | |
| | | String path = oConvertUtils.getString(env.getProperty("server.servlet.context-path")); |
| | | log.info("\n----------------------------------------------------------\n\t" + |
| | | "Application Jeecg-Boot is running! Access URLs:\n\t" + |
| | | "Local: \t\thttps://localhost:" + port + path + "/\n\t" + |
| | | "External: \thttps://" + ip + ":" + port + path + "/\n\t" + |
| | | "Swagger文档: \thttps://" + ip + ":" + port + path + "/doc.html\n" + |
| | | "Local: \t\thttp://localhost:" + port + path + "/\n\t" + |
| | | "External: \thttp://" + ip + ":" + port + path + "/\n\t" + |
| | | "Swagger文档: \thttp://" + ip + ":" + port + path + "/doc.html\n" + |
| | | "----------------------------------------------------------"); |
| | | |
| | | } |