update
This commit is contained in:
@@ -44,8 +44,6 @@ public class Result<T> implements Serializable {
|
||||
@Schema(description = "返回数据对象")
|
||||
private T result;
|
||||
|
||||
private Object xhyCount;
|
||||
private Object lhsCount;
|
||||
/**
|
||||
* 不返回数据
|
||||
*
|
||||
@@ -53,7 +51,7 @@ public class Result<T> implements Serializable {
|
||||
* 时间戳
|
||||
*/
|
||||
@Schema(description = "时间戳")
|
||||
private long timestamp = System.currentTimeMillis();
|
||||
private long timestamp = System.currentTimeMillis();
|
||||
|
||||
public Result() {
|
||||
}
|
||||
@@ -133,7 +131,6 @@ public class Result<T> implements Serializable {
|
||||
return r;
|
||||
}
|
||||
|
||||
|
||||
public static <T> Result<T> OK(String msg, T data) {
|
||||
Result<T> r = new Result<T>();
|
||||
r.setSuccess(true);
|
||||
|
||||
Reference in New Issue
Block a user