update
This commit is contained in:
parent
e267e1fec2
commit
e28ba406ac
|
@ -46,7 +46,7 @@ public class Result<T> implements Serializable {
|
|||
|
||||
private Integer count;
|
||||
|
||||
private String msg;
|
||||
private String message;
|
||||
|
||||
private Result(IResultCode resultCode) {
|
||||
this(resultCode, null, resultCode.getMessage());
|
||||
|
@ -67,7 +67,7 @@ public class Result<T> implements Serializable {
|
|||
private Result(int code, T data, String msg) {
|
||||
this.code = code;
|
||||
this.data = data;
|
||||
this.msg = msg;
|
||||
this.message = msg;
|
||||
this.success = ResultCode.SUCCESS.code == code;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue