MrShi
2025-10-24 9a94659698885764730c5f9f9cf3bb38761c0de8
server/system_gateway/src/main/java/com/doumee/SystemGatewayApplication.java
@@ -1,17 +1,21 @@
package com.doumee;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.ApplicationContext;
import org.springframework.scheduling.annotation.EnableAsync;
/**
 * 启动类
 * @author Eva.Caesar Liu
 * @date 2023/03/21 14:49
 */
@EnableAsync
@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("com.doumee.dao.*")
public class SystemGatewayApplication {
    public static void main(String[] args) {
        ApplicationContext context = SpringApplication.run(SystemGatewayApplication.class);