| ÎļþÃû´Ó server/src/main/java/com/doumee/Application.java ÐÞ¸Ä |
| | |
| | | import org.springframework.boot.SpringApplication; |
| | | import org.springframework.boot.autoconfigure.SpringBootApplication; |
| | | import org.springframework.context.ApplicationContext; |
| | | |
| | | import org.springframework.scheduling.annotation.EnableAsync; |
| | | |
| | | /** |
| | | * å¯å¨ç±» |
| | | * @author Eva.Caesar Liu |
| | | * @date 2022/03/15 09:54 |
| | | * @date 2023/02/14 11:14 |
| | | */ |
| | | @Slf4j |
| | | @SpringBootApplication |
| | | @EnableAsync |
| | | @MapperScan("com.doumee.dao") |
| | | public class Application { |
| | | |
| | | @EnableAsync |
| | | public class PlatformApplication { |
| | | public static void main(String[] args) { |
| | | ApplicationContext context = SpringApplication.run(Application.class); |
| | | ApplicationContext context = SpringApplication.run(PlatformApplication.class); |
| | | context.getEnvironment(); |
| | | } |
| | | |
| | | } |