2024-03-22 19:22:45 +08:00
|
|
|
package com.atguigu.constant;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 信息提示常量类
|
|
|
|
*/
|
|
|
|
public class MessageConstant {
|
|
|
|
public static final String PASSWORD_ERROR = "密码错误";
|
|
|
|
public static final String OLD_PASSWORD_ERROR = "旧密码不匹配";
|
|
|
|
public static final String OLD_PASSWORD_SAME_NEW_PASSWORD = "旧密码与新密码相同";
|
|
|
|
public static final String ACCOUNT_NOT_FOUND = "账号不存在";
|
|
|
|
public static final String ACCOUNT_LOCKED = "账号被锁定";
|
|
|
|
public static final String UNKNOWN_ERROR = "未知错误";
|
|
|
|
public static final String USER_NOT_LOGIN = "用户未登录";
|
|
|
|
public static final String USER_TOKEN_OUT_OF_DATE = "用户登录过期";
|
|
|
|
public static final String LOGIN_FAILED = "登录失败";
|
|
|
|
public static final String UPLOAD_FAILED = "文件上传失败";
|
|
|
|
public static final String PASSWORD_EDIT_FAILED = "密码修改失败";
|
|
|
|
public static final String ALREADY_EXISTS = "已存在";
|
|
|
|
public static final String REQUEST_NOT_EMPTY = "请求不为空";
|
2024-03-23 23:26:41 +08:00
|
|
|
public static final String UPDATE_ID_IS_NOT_EMPTY = "删除id不能为空";
|
2024-03-23 22:53:37 +08:00
|
|
|
public static final String DELETE_ID_IS_NOT_EMPTY = "修改id不能为空";
|
2024-03-24 23:06:16 +08:00
|
|
|
public static final String MENU_IS_NOT_EXIST = "菜单不存在";
|
2024-03-26 13:43:43 +08:00
|
|
|
public static final String SAVE_DTO_IS_NULL = "添加参数不能为空";
|
2024-03-26 14:32:42 +08:00
|
|
|
public static final String UPDATE_DTO_IS_NULL = "修改参数不能为空";
|
2024-03-22 19:22:45 +08:00
|
|
|
}
|