| 程序包 | 说明 |
|---|---|
| cn.minsin.core.web |
| 限定符和类型 | 方法和说明 |
|---|---|
static Result |
Result.builder(ResultOptions option,
String... message)
构造result
|
static Result |
Result.builderException(String... msg)
code 来自Result中的 SUCCESS 或 EXCEPTION
|
static Result |
Result.builderFail(String... msg)
构建失败消息
|
static Result |
Result.builderMissParamter(String... msg)
构建缺少参数的Result
|
static Result |
Result.builderOutTime(String... msg)
构建后端用户过期
|
static Result |
Result.builderSuccess(String... msg)
code 来自Result中的 SUCCESS 或 EXCEPTION
|
Result |
Result.data(Object value) |
Result |
Result.data(String key,
Object value) |
Result |
Result.resetOption(ResultOptions option,
String... msg)
重置提示语和code
|
Copyright © 2019. All rights reserved.