fix:修复result显示错误
This commit is contained in:
parent
3b0051cb37
commit
62c9c7fa7d
|
@ -50,7 +50,7 @@ public class Result<T> implements Serializable {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static <T> Result<T> ok(T data) {
|
public static <T> Result<T> ok(T data) {
|
||||||
return error("", data);
|
return ok("", data);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static <T> Result<T> ok(String msg, T data) {
|
public static <T> Result<T> ok(String msg, T data) {
|
||||||
|
|
Loading…
Reference in New Issue