We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Result.ok(Object data) 建议改成用泛型,不然swagger文档返回的一直是object
public static<T> Result<T> ok(T data) { Result<T> r = new Result<>(); r.setSuccess(true); r.setCode(CommonConstant.SC_OK_200); r.setResult(data); return r; }
友情提示: 未按格式要求发帖,会直接删掉。
下个版本更新
Activity
J-cafe commentedon Jul 31, 2020
下个版本更新