Commit 06211de2 authored by lcl's avatar lcl

u

parent 307c468f
...@@ -48,6 +48,8 @@ public class TableDataInfo<T> implements Serializable { ...@@ -48,6 +48,8 @@ public class TableDataInfo<T> implements Serializable {
public TableDataInfo(List<T> list, long total) { public TableDataInfo(List<T> list, long total) {
this.rows = list; this.rows = list;
this.total = total; this.total = total;
this.code = HttpStatus.HTTP_OK;
this.msg = "查询成功";
} }
public static <T> TableDataInfo<T> build(IPage<T> page) { public static <T> TableDataInfo<T> build(IPage<T> 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