Merge remote-tracking branch 'origin/main'

This commit is contained in:
ly19960718 2021-01-27 12:49:11 +08:00
commit 5a5cd82fdd

View File

@ -1,11 +1,15 @@
package cn.com.tenlion; package cn.com.tenlion;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication; import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2;
@EnableSwagger2
@SpringBootApplication @SpringBootApplication
@ComponentScan("cn.com") @ComponentScan("cn.com")
@MapperScan({"cn.com.**.dao"})
public class BusinessCardApplication { public class BusinessCardApplication {
public static void main(String[] args) { public static void main(String[] args) {