From e28ba406ac0390e5dc0e28d1a337d363977c3c6c Mon Sep 17 00:00:00 2001 From: lijiaqi Date: Tue, 29 Aug 2023 16:22:15 +0800 Subject: [PATCH] update --- src/main/java/com/ydool/common/data/dto/Result.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }