fix:修复result显示错误

This commit is contained in:
石崇礼 2025-02-08 15:53:34 +08:00
parent 3b0051cb37
commit 62c9c7fa7d
1 changed files with 1 additions and 1 deletions

View File

@ -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) {