若依 3.0

This commit is contained in:
RuoYi
2018-10-07 21:36:22 +08:00
parent e166127c9f
commit 2f0c5d2b03
4 changed files with 10 additions and 20 deletions

View File

@ -32,7 +32,7 @@ public class SwaggerConfig
.apiInfo(apiInfo())
.select()
// 指定当前包路径
.apis(RequestHandlerSelectors.basePackage("com.ruoyi.project.tool.swagger"))
.apis(RequestHandlerSelectors.basePackage("com.ruoyi.web.controller.tool"))
// 扫描所有 .apis(RequestHandlerSelectors.any())
.paths(PathSelectors.any())
.build();