1
This commit is contained in:
parent
3240ecc3dc
commit
02d02fb0fc
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user