Pre Merge pull request !242 from kagome2014/N/A

This commit is contained in:
kagome2014 2020-12-16 10:08:03 +08:00 committed by Gitee
commit 84bf1663ac
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ public class BaseController
protected TableDataInfo getDataTable(List<?> list)
{
TableDataInfo rspData = new TableDataInfo();
rspData.setCode(0);
rspData.setCode(Type.SUCCESS.value());
rspData.setRows(list);
rspData.setTotal(new PageInfo(list).getTotal());
return rspData;