Commit edd064cc by 罗长华

ApiResult.ok()默认返回true

parent a121c23d
......@@ -112,7 +112,7 @@ public class ApiResult<T> implements Serializable {
}
public static ApiResult<Boolean> ok() {
return ok(null);
return ok(true);
}
public static <T> ApiResult<T> ok(T data) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment