Result
parent
68e10bcb5d
commit
385b5615e8
|
@ -85,6 +85,7 @@ public class Result<T> implements Serializable {
|
|||
return restResult(data, WARN, msg);
|
||||
}
|
||||
|
||||
|
||||
public static <T> Result<T> warn (int code, String msg) {
|
||||
return restResult(null, code, msg);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue