|
@@ -4,13 +4,13 @@ import lombok.Data;
|
|
|
|
|
|
@Data
|
|
|
public class BaseResult<T> {
|
|
|
- private String responseCode;
|
|
|
- private String responseMsg;
|
|
|
+ private String code;
|
|
|
+ private String msg;
|
|
|
private T data;
|
|
|
|
|
|
public BaseResult(String responseCode, String responseMsg, T data) {
|
|
|
- this.responseCode = responseCode;
|
|
|
- this.responseMsg = responseMsg;
|
|
|
+ this.code = responseCode;
|
|
|
+ this.msg = responseMsg;
|
|
|
this.data = data;
|
|
|
}
|
|
|
|