13693261870
昨天 542a030a93de7dbc39e185d4ce355c5894e3cd5b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package com.terra.system;
 
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableAsync;
 
/**
 * 系统模块
 * 排除Security:, exclude = {SecurityAutoConfiguration.class, SecurityFilterAutoConfiguration.class}
 * jar -> war:继承 SpringBootServletInitializer,实现 configure 函数
 *
 * @author admin
 */
@EnableAsync
@MapperScan("com.terra.*.mapper")
@EnableAspectJAutoProxy(exposeProxy = true)
@SpringBootApplication(scanBasePackages = {"com.terra.system.*"})
public class SeSystemApp
{
    public static void main(String[] args)
    {
        SpringApplication.run(SeSystemApp.class, args);
        System.out.println("----------系统模块启动成功----------  \n");
    }
}