|  |  |  | 
|---|
|  |  |  | 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); | 
|---|