| 限定符和类型 | 方法和说明 |
|---|---|
Result<T> |
build() |
Result.CommonResponseBuilder<T> |
code(int code) |
Result.CommonResponseBuilder<T> |
data(T data) |
Result.CommonResponseBuilder<T> |
msg(String msg) |
Result.CommonResponseBuilder<T> |
status(HTTP status) |
public Result.CommonResponseBuilder<T> code(int code)
public Result.CommonResponseBuilder<T> msg(String msg)
public Result.CommonResponseBuilder<T> data(T data)
public Result.CommonResponseBuilder<T> status(HTTP status)
Copyright © 2022. All rights reserved.