Commit 901de7c7 authored by diaoruifeng's avatar diaoruifeng

修改

parent f07c3338
......@@ -97,9 +97,9 @@ public class AppRegisterServiceImpl implements AppRegisterService {
@Override
public ResponseVO getAppInfo(QueryAppDTO queryAppDTO) {
List<QueryAppInfoVO> list = appRegisterMapper.getAppInfo(queryAppDTO);
PageHelper.startPage(queryAppDTO.getCurrentPage(), queryAppDTO.getPageSize());
PageInfo<QueryAppInfoVO> pageInfo = new PageInfo<>(list);
return ResponseVO.ok(pageInfo);
PageUtil<QueryAppInfoVO> pageUtil = new PageUtil<>();
pageUtil.startPage(queryAppDTO.getCurrentPage(), queryAppDTO.getPageSize(), list);
return ResponseVO.ok(pageUtil);
}
@Override
......
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