fix 修复分页构建没有默认值
This commit is contained in:
parent
008e02a406
commit
4f3cbc4bc2
@ -50,6 +50,8 @@ public class TableDataInfo<T> implements Serializable {
|
||||
public TableDataInfo(List<T> list, long total) {
|
||||
this.rows = list;
|
||||
this.total = total;
|
||||
this.code = HttpStatus.HTTP_OK;
|
||||
this.msg = "查询成功";
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user