Commit bc529851 authored by chenyuefang's avatar chenyuefang

当前页码返回

parent d1f2d097
......@@ -39,6 +39,11 @@ public class TableDataInfo<T> implements Serializable {
*/
private String msg;
/**
* 当前页
*/
private long currentPage;
/**
* 分页
*
......@@ -58,6 +63,7 @@ public class TableDataInfo<T> implements Serializable {
rspData.setMsg("查询成功");
rspData.setRows(page.getRecords());
rspData.setTotal(page.getTotal());
rspData.setCurrentPage(page.getCurrent());
return rspData;
}
......
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