diff --git a/huaheng-wms-core/pom.xml b/huaheng-wms-core/pom.xml index 51ab7ee..55c3777 100644 --- a/huaheng-wms-core/pom.xml +++ b/huaheng-wms-core/pom.xml @@ -86,26 +86,26 @@ </dependency> <!--swagger--> - <dependency> - <groupId>io.springfox</groupId> - <artifactId>springfox-swagger2</artifactId> - <version>3.0.0</version> - </dependency> - <dependency> - <groupId>io.springfox</groupId> - <artifactId>springfox-swagger-ui</artifactId> - <version>3.0.0</version> - </dependency> - <dependency> - <groupId>io.swagger</groupId> - <artifactId>swagger-annotations</artifactId> - <version>1.5.22</version> - </dependency> - <dependency> - <groupId>com.github.xiaoymin</groupId> - <artifactId>swagger-bootstrap-ui</artifactId> - <version>1.8.7</version> - </dependency> +<!-- <dependency> --> +<!-- <groupId>io.springfox</groupId> --> +<!-- <artifactId>springfox-swagger2</artifactId> --> +<!-- <version>3.0.0</version> --> +<!-- </dependency> --> +<!-- <dependency> --> +<!-- <groupId>io.springfox</groupId> --> +<!-- <artifactId>springfox-swagger-ui</artifactId> --> +<!-- <version>3.0.0</version> --> +<!-- </dependency> --> +<!-- <dependency> --> +<!-- <groupId>io.swagger</groupId> --> +<!-- <artifactId>swagger-annotations</artifactId> --> +<!-- <version>1.5.22</version> --> +<!-- </dependency> --> +<!-- <dependency> --> +<!-- <groupId>com.github.xiaoymin</groupId> --> +<!-- <artifactId>swagger-bootstrap-ui</artifactId> --> +<!-- <version>1.8.7</version> --> +<!-- </dependency> --> </dependencies> diff --git a/huaheng-wms-core/src/main/java/org/jeecg/JeecgSystemApplication.java b/huaheng-wms-core/src/main/java/org/jeecg/JeecgSystemApplication.java index 1d1c0bd..65e23d7 100644 --- a/huaheng-wms-core/src/main/java/org/jeecg/JeecgSystemApplication.java +++ b/huaheng-wms-core/src/main/java/org/jeecg/JeecgSystemApplication.java @@ -28,7 +28,7 @@ import lombok.extern.slf4j.Slf4j; @EnableCaching @SpringBootApplication @EnableAutoConfiguration(exclude = {MongoAutoConfiguration.class}) -@ComponentScan(excludeFilters = {@Filter(type = FilterType.REGEX, pattern = {"org.jeecg.config.mybatis.MybatisInterceptor", "org.jeecg.config.Swagger2Config"})}) +@ComponentScan(excludeFilters = {@Filter(type = FilterType.REGEX, pattern = {"org.jeecg.config.mybatis.MybatisInterceptor"})}) public class JeecgSystemApplication extends SpringBootServletInitializer { @Override diff --git a/huaheng-wms-core/src/main/java/org/jeecg/utils/Swagger3Config.java b/huaheng-wms-core/src/main/java/org/jeecg/utils/Swagger3Config.java index e0e9634..4570239 100644 --- a/huaheng-wms-core/src/main/java/org/jeecg/utils/Swagger3Config.java +++ b/huaheng-wms-core/src/main/java/org/jeecg/utils/Swagger3Config.java @@ -23,15 +23,15 @@ import springfox.documentation.service.*; import springfox.documentation.spi.DocumentationType; import springfox.documentation.spi.service.contexts.SecurityContext; import springfox.documentation.spring.web.plugins.Docket; -import springfox.documentation.swagger2.annotations.EnableSwagger2; +//import springfox.documentation.swagger2.annotations.EnableSwagger2; /** * @author 游杰 */ -@Configuration -@EnableSwagger2 -@EnableKnife4j -@Import(BeanValidatorPluginsConfiguration.class) +//@Configuration +//@EnableSwagger2 +//@EnableKnife4j +//@Import(BeanValidatorPluginsConfiguration.class) public class Swagger3Config implements WebMvcConfigurer { /**