|
|
@@ -9,7 +9,6 @@ import org.springframework.web.bind.annotation.PathVariable;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestParam;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.PutMapping;
|
|
|
@@ -47,7 +46,7 @@ public class ${className}Controller extends BaseController {
|
|
|
@GetMapping("page")
|
|
|
@ApiOperation("分页")
|
|
|
@RequiresPermissions("${moduleName}:${pathName}:page")
|
|
|
- public ApiResponse<Pagination<${className}VO>> page(@RequestParam ${className}PagePO request) {
|
|
|
+ public ApiResponse<Pagination<${className}VO>> page(${className}PagePO request) {
|
|
|
|
|
|
Pagination<${className}VO> result = ${classname}Service.page(request);
|
|
|
return R.result(result);
|