package com.animal.common; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; /** * 接口统一返回包装类 */ @Data @NoArgsConstructor @AllArgsConstructor public class Result { private String code; private String msg; private Object data; public static Result success() { return new Result(Constants.CODE_200, "", null); } public static Result success(Object data) { return new Result(Constants.CODE_200, "", data); } public static Result error(String code, String msg) { return new Result(code, msg, null); } public static Result error() { return new Result(Constants.CODE_500, "系统错误", null); } }

2578193624 LV2
6月8日
Gretchen LV1
6月4日
sgrfsgrts LV2
5月15日
木子520 LV12
5月14日
5418888 LV3
5月13日
Hekliu LV8
5月8日
WBelong LV8
4月22日
luhong LV4
4月19日
y54646499 LV1
4月8日
GakkiMarryMe LV9
3月25日

夜雨静琉璃
6月12日
暂无贡献等级
462063
6月12日
暂无贡献等级
2578193624 LV2
6月8日
1516299986 LV9
6月5日
19973998197
6月5日
暂无贡献等级
Gretchen LV1
6月4日
chunnnn
6月4日
暂无贡献等级
luomengqi
6月2日
暂无贡献等级
haitianjiaoyu0 LV8
5月27日
QQcccccc
5月26日
暂无贡献等级