public class ResultPrompt extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ACCOUNT_BALANCE_NOT_ENOUGH |
static String |
ACCOUNT_EXIST_BINDING |
static String |
ACCOUNT_EXIST_BUSINESS_NOT_ALLOW_CHANGE |
static String |
CAPTCHA_ERROR |
static String |
DELETE_BATCH_ERROR
批次删除错误
|
static String |
DELETE_ERROR
单行删除错误
|
static String |
DISTRIBUTED_LOCK
分布式锁
|
static String |
INSERT_BATCH_ERROR
多行插入错误
|
static String |
INVITE_CODE_INVALID |
static String |
MAX_LIMIT
超出最大limit限制
|
static String |
ORIGINAL_PASSWORD_ERROR |
static String |
PASSWORD_INVALID |
static String |
PHONE_EXIST |
static String |
UPDATE_BATCH_ERROR
批次更新错误
|
static String |
USER_EXIST |
static String |
USER_INVALID |
static String |
USER_NO_EXIST |
static String |
USER_STOP |
static String |
USERNAME_OR_PASSWORD_ERROR |
Constructor and Description |
---|
ResultPrompt() |
Modifier and Type | Method and Description |
---|---|
static String |
dataStructure(Object expected,
Object actual)
数据结构异常-不正确的结果
|
static String |
serviceUnavailable(int restoreMinutes)
服务不可用-停机维护
|
static String |
serviceUnavailable(LocalDateTime restoreTime)
服务不可用-停机维护
|
public static final String USER_EXIST
public static final String USER_NO_EXIST
public static final String USER_STOP
public static final String USER_INVALID
public static final String USERNAME_OR_PASSWORD_ERROR
public static final String ORIGINAL_PASSWORD_ERROR
public static final String PHONE_EXIST
public static final String PASSWORD_INVALID
public static final String CAPTCHA_ERROR
public static final String INVITE_CODE_INVALID
public static final String ACCOUNT_EXIST_BINDING
public static final String ACCOUNT_EXIST_BUSINESS_NOT_ALLOW_CHANGE
public static final String ACCOUNT_BALANCE_NOT_ENOUGH
public static final String MAX_LIMIT
public static final String DISTRIBUTED_LOCK
public static final String INSERT_BATCH_ERROR
public static final String DELETE_ERROR
public static final String DELETE_BATCH_ERROR
public static final String UPDATE_BATCH_ERROR
public static String dataStructure(Object expected, Object actual)
expected
- 预期内容actual
- 实际内容public static String serviceUnavailable(LocalDateTime restoreTime)
restoreTime
- 预计恢复时间(如:2020-12-31 08:00:00)public static String serviceUnavailable(int restoreMinutes)
restoreMinutes
- 预计恢复时间(单位:分钟)Copyright © 2022 Pivotal Software, Inc.. All rights reserved.