diff --git a/generator/src/main/resources/templates/controller.java.vm b/generator/src/main/resources/templates/controller.java.vm index 1553312909f6ba26bb48c3b962057743a219b05e..8c42da8c695747af11762654c3e59353b11e37a4 100644 --- a/generator/src/main/resources/templates/controller.java.vm +++ b/generator/src/main/resources/templates/controller.java.vm @@ -150,7 +150,7 @@ public class ${table.controllerName} { #if(${cfg.operationLog}) @OperationLog(name = "$!{table.comment}分页列表", type = OperationLogType.PAGE) #end - @ApiOperation(value = "$!{table.comment}分页列表", response = ${entity}${cfg.queryVo}.class) + @ApiOperation(value = "$!{table.comment}分页列表") public ApiResult> get${entity}PageList(#if(${cfg.paramValidation})@Validated #end@RequestBody ${entity}${cfg.pageParam} ${cfg.entityObjectName}${cfg.pageParam}) throws Exception { Paging<${entity}${cfg.queryVo}> paging = ${cfg.entityObjectName}Service.get${entity}PageList(${cfg.entityObjectName}${cfg.pageParam}); return ApiResult.ok(paging);