|
|
@@ -48,9 +48,14 @@ public class Page<T> implements Serializable {
|
|
|
this.totalRow = totalRow;
|
|
|
}
|
|
|
|
|
|
+ /* 注掉此方法是因为 fastjson 在反序列化时无法注入属性值
|
|
|
+ * 新版本 fastjson 在 "无默认构造方法" 时不会抛出异常,并能正确注入属性值
|
|
|
+ *
|
|
|
+ * 老版本 fastjson 在 "无默认构造方法" 时会抛出: default constructor not found
|
|
|
+ * 并且仍然无法注入属性值
|
|
|
public Page() {
|
|
|
|
|
|
- }
|
|
|
+ } */
|
|
|
|
|
|
/**
|
|
|
* Return list of this page.
|