提交 c49dfc47 编写于 作者: chenxiang@lab.ibiz5.com's avatar chenxiang@lab.ibiz5.com

1

上级 9533d179
......@@ -486,7 +486,7 @@ public class ${itemCodeName}Resource {
return ResponseEntity.status(HttpStatus.OK).body(${deCodeNameLC}Service.remove(${itemCodeNameLC + keyCNLC}));
}
@ApiOperation(value = "RemoveBatch${byParams}", tags = {"RemoveBatch${byParams}" }, notes = "RemoveBatch${byParams}")
@ApiOperation(value = "RemoveBatch${byParams}", tags = {"${itemCodeName}" }, notes = "RemoveBatch${byParams}")
@RequestMapping(method = RequestMethod.POST, value = "${fullPath}/removebatch")
public ResponseEntity<Boolean> removeBatch${byParams}(@RequestBody List<${srfjavatype(de.getKeyPSDEField().getStdDataType())}> ids) {
${deCodeNameLC}Service.removeBatch(ids);
......
......@@ -29,7 +29,9 @@ public class SwaggerConfiguration {
.build()
)
.select()
.paths(or(regex("/rest/.*")))
.apis(RequestHandlerSelectors.basePackage("${pub.getPKGCodeName()!''}"))
//.paths(or(regex("/rest/.*")))
.paths(PathSelectors.any())
.build()
;
}
......@@ -48,7 +50,9 @@ public class SwaggerConfiguration {
.build()
)
.select()
.paths(or(regex("/rest/${api.getCodeName()?lower_case}/.*")))
.apis(RequestHandlerSelectors.basePackage("${pub.getPKGCodeName()!''}.${api.getCodeName()?lower_case}"))
//.paths(or(regex("/rest/${api.getCodeName()?lower_case}/.*")))
.paths(PathSelectors.any())
.build()
;
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册