| 程序包 | 说明 |
|---|---|
| cn.woodwhales.common.model.enums | |
| cn.woodwhales.common.model.result | |
| cn.woodwhales.common.model.vo |
| 限定符和类型 | 类和说明 |
|---|---|
class |
RespCodeEnum |
| 限定符和类型 | 方法和说明 |
|---|---|
BaseRespResult |
OpResult.getBaseRespResult()
获取响应状态码对象
|
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> OpResult<T> |
OpResult.failure(BaseRespResult baseRespResult) |
static <T> OpResult<T> |
OpResult.failure(BaseRespResult baseRespResult,
T data) |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> PageRespVO<T> |
PageRespVO.buildPageRespVO(@NotNull BaseRespResult baseRespResult,
Long count,
List<T> data) |
static <T> RespVO<T> |
RespVO.buildWithBaseRespResult(BaseRespResult baseRespResult) |
static <T> RespVO<T> |
RespVO.buildWithBaseRespResult(BaseRespResult baseRespResult,
T data) |
static PageRespVO |
PageRespVO.error(BaseRespResult baseRespResult) |
static <T> RespVO<T> |
RespVO.error(BaseRespResult baseRespResult) |
static <T> RespVO<T> |
RespVO.error(BaseRespResult baseRespResult,
T data) |
static <T> RespVO<T> |
RespVO.errorWithErrorMsg(BaseRespResult baseRespResult,
String errorMsg) |
Copyright © 2021. All rights reserved.