24 lines
645 B
Java
24 lines
645 B
Java
|
|
package com.it.rattan;
|
||
|
|
|
||
|
|
|
||
|
|
import org.mybatis.spring.annotation.MapperScan;
|
||
|
|
import org.springframework.boot.SpringApplication;
|
||
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||
|
|
|
||
|
|
import org.springframework.boot.web.servlet.ServletComponentScan;
|
||
|
|
import org.springframework.context.annotation.ComponentScan;
|
||
|
|
|
||
|
|
|
||
|
|
@SpringBootApplication
|
||
|
|
@ServletComponentScan(basePackages ={"com.it.rattan"})
|
||
|
|
@ComponentScan(basePackages ={"com.it.rattan"})
|
||
|
|
/*@EnableAsync
|
||
|
|
@EnableAspectJAutoProxy*/
|
||
|
|
public class SpcCloudApplication {
|
||
|
|
|
||
|
|
public static void main(String[] args) {
|
||
|
|
SpringApplication.run(SpcCloudApplication.class, args);
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|