fix:修复result显示bug

This commit is contained in:
2025-02-08 15:40:47 +08:00
parent 117f293e83
commit f966dd9387
3 changed files with 21 additions and 7 deletions

View File

@@ -50,7 +50,7 @@ public class Result<T> implements Serializable {
}
public static <T> Result<T> ok(T data) {
return error("", data);
return ok("", data);
}
public static <T> Result<T> ok(String msg, T data) {