update ruoyi-common/src/main/java/com/ruoyi/common/core/controller/BaseController.java.
This commit is contained in:
parent
78eed9cd56
commit
aeacb3af9b
|
|
@ -107,7 +107,7 @@ public class BaseController
|
||||||
protected TableDataInfo getDataTable(List<?> list)
|
protected TableDataInfo getDataTable(List<?> list)
|
||||||
{
|
{
|
||||||
TableDataInfo rspData = new TableDataInfo();
|
TableDataInfo rspData = new TableDataInfo();
|
||||||
rspData.setCode(0);
|
rspData.setCode(Type.SUCCESS.value());
|
||||||
rspData.setRows(list);
|
rspData.setRows(list);
|
||||||
rspData.setTotal(new PageInfo(list).getTotal());
|
rspData.setTotal(new PageInfo(list).getTotal());
|
||||||
return rspData;
|
return rspData;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue