update 修复分页数据缺少code

dev
AprilWind 6 months ago
parent c846fad872
commit 0b8b47d857

@ -51,6 +51,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 = "查询成功";
} }
/** /**

Loading…
Cancel
Save