diff --git a/src/main/java/com/ydool/common/data/dto/Result.java b/src/main/java/com/ydool/common/data/dto/Result.java index 3806ff2..f014963 100644 --- a/src/main/java/com/ydool/common/data/dto/Result.java +++ b/src/main/java/com/ydool/common/data/dto/Result.java @@ -46,7 +46,7 @@ public class Result 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 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; }