Commit 30a42ed0 by 孙长庆

swagger包路径修改

1 parent ee181aa8
...@@ -25,7 +25,7 @@ public class SwaggerConfig { ...@@ -25,7 +25,7 @@ public class SwaggerConfig {
// String basePackage = ADMIN_SWAGGER;// 要暴露的API接口的基础包名 // String basePackage = ADMIN_SWAGGER;// 要暴露的API接口的基础包名
return new Docket (DocumentationType.SWAGGER_2) return new Docket (DocumentationType.SWAGGER_2)
.select () .select ()
.apis (RequestHandlerSelectors.basePackage ("org.nafmii.admin")) .apis (RequestHandlerSelectors.basePackage ("org.nafmii.admin.user"))
.paths (PathSelectors.any ()) .paths (PathSelectors.any ())
.build () .build ()
.apiInfo (apiInfo ()) .apiInfo (apiInfo ())
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!