This commit is contained in:
lijiaqi 2023-08-29 16:22:15 +08:00
parent e267e1fec2
commit e28ba406ac
1 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ public class Result<T> implements Serializable {
private Integer count; private Integer count;
private String msg; private String message;
private Result(IResultCode resultCode) { private Result(IResultCode resultCode) {
this(resultCode, null, resultCode.getMessage()); this(resultCode, null, resultCode.getMessage());
@ -67,7 +67,7 @@ public class Result<T> implements Serializable {
private Result(int code, T data, String msg) { private Result(int code, T data, String msg) {
this.code = code; this.code = code;
this.data = data; this.data = data;
this.msg = msg; this.message = msg;
this.success = ResultCode.SUCCESS.code == code; this.success = ResultCode.SUCCESS.code == code;
} }