Commit 29515f00 authored by 吴泽佳's avatar 吴泽佳

分页对象

parent 0bf1141f
......@@ -18,6 +18,7 @@ import com.tanpu.community.manager.ThemeManager;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
......@@ -60,11 +61,7 @@ public class HomePageController {
@ApiOperation(value = "探普 首席投顾列表查询")
@GetMapping(value = "/queryChiefFinancialAdviserList")
@ApiImplicitParams({
@ApiImplicitParam(name = "pageNumber", value = "页码", required = true),
@ApiImplicitParam(name = "pageSize", value = "每页条数", required = true)
})
public CommonResp<Page<UserInfoNewChief>> queryChiefFinancialAdviserList(@RequestBody Pageable page) {
public CommonResp<Page<UserInfoNewChief>> queryChiefFinancialAdviserList(@ApiParam(value = "分页对象", required = true) Pageable page) {
return CommonResp.success(homePageManager.queryChiefFinancialAdviserList(page));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment