| | |
| | | package com.yckj; |
| | | |
| | | import com.spring4all.swagger.EnableSwagger2Doc; |
| | | import org.mybatis.spring.annotation.MapperScan; |
| | | import org.springframework.boot.SpringApplication; |
| | | import org.springframework.boot.autoconfigure.SpringBootApplication; |
| | |
| | | * @Description : 启动类 |
| | | * @date 2020/10/15 |
| | | **/ |
| | | @SpringBootApplication(exclude = {DataSourceAutoConfiguration.class}) |
| | | @SpringBootApplication |
| | | @EnableWebMvc |
| | | @MapperScan(basePackages = "com.fgkj.mapper.impl") |
| | | @EnableSwagger2 |
| | | @EnableSwagger2Doc |
| | | public class Application extends WebMvcConfigurerAdapter { |
| | | |
| | | public static void main(String[] args) { |