| 程序包 | 说明 |
|---|---|
| online.inote.common.utils.response |
| 限定符和类型 | 字段和说明 |
|---|---|
static Code |
Code.EXISTS
A10005 该信息已存在
|
static Code |
Code.FAIL
A10002 失败
|
static Code |
Code.NOT_EXISTS
A10004 该信息不存在
|
static Code |
Code.NOT_PERMISSION
A10007 没有权限
|
static Code |
Code.OWN_PERMISSION
A10006 有权限
|
static Code |
Code.PARAM_REQUIRED
A10003 参数必填
|
static Code |
Code.SUCCESS
A10001 成功
|
static Code |
Code.TOKEN_EXPIRED
A50014 登录超时
|
static Code |
Code.TOKEN_ILLEGAL
A50008 非法令牌
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Code |
Code.of(String code) |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> I18nResponse<T> |
I18nResponse.create(Code code) |
static <T> I18nResponse<T> |
I18nResponse.create(Code code,
Object... args) |
static <T> ExtendResponse<T> |
ExtendResponse.create(Code code,
String message,
T data) |
Copyright © 2021. All rights reserved.