copy from server/src/main/java/com/doumee/Application.java
copy to server/web/src/main/java/com/doumee/InterfaceApplication.java
| Îļþ´Ó 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/03/21 14:49 |
| | | */ |
| | | @Slf4j |
| | | @SpringBootApplication |
| | | @EnableAsync |
| | | @MapperScan("com.doumee.dao") |
| | | public class Application { |
| | | public class InterfaceApplication { |
| | | |
| | | public static void main(String[] args) { |
| | | ApplicationContext context = SpringApplication.run(Application.class); |
| | | ApplicationContext context = SpringApplication.run(InterfaceApplication.class); |
| | | context.getEnvironment(); |
| | | } |
| | | |
| | | } |