| Package | Description |
|---|---|
| ltd.fdsa.web.enums | |
| ltd.fdsa.web.exception | |
| ltd.fdsa.web.view |
| Modifier and Type | Method and Description |
|---|---|
static BusinessResult |
BusinessResult.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BusinessResult[] |
BusinessResult.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
ResultException(BusinessResult resultEnum)
统一异常处理
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Result<T> |
Result.fail(BusinessResult code) |
static <T> Result<T> |
Result.fail(BusinessResult code,
T data) |
Copyright © 2022. All rights reserved.