update 修复分页数据缺少code

This commit is contained in:
AprilWind
2025-07-02 17:27:32 +08:00
parent c846fad872
commit 0b8b47d857

View File

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