liujie
2026-06-09 c96fbe6b0aeb413a17c429133ee6d81d138144b9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
package com.xiaopeng.account.constant;
 
/**
 * @author MiTao
 * @date 2026-02-06 17:34
 *
 */
public interface I18nKeyConstant {
    //========== 权限组相关 ==========
    String GROUP_NAME_EXISTS = "group.name.exists";
    String GROUP_NOT_EXISTS = "group.not.exists";
 
    //========== 登陆相关 ==========
    String LOGIN_ROLE_NOT_BIND = "login.role.not.bind";
    String LOGIN_FAIL = "login.fail";
    String LOGIN_USERNAME_PASSWORD = "login.username.password";
    String LOGIN_USERNAME_PASSWORD_NOT_BLANK = "login.username.password.not.blank";
    String LOGIN_USERNAME_NOT_VALID = "login.username.not.valid";
    String LOGIN_PASSWORD_NOT_VALID = "login.password.not.valid";
    String LOGIN_BLACK_LIST = "login.black.list";
    String ACCOUNT_NOT_EXISTS = "account.not.exists";
    String LOGIN_ACCOUNT_DISABLED = "login.account.disabled";
 
    //========== 帐号相关 ==========
    String ACCOUNT_PROFILE_UPDATE_ERROR = "account.profile.update.error";
    String ACCOUNT_PASSWORD_UPDATE_ERROR = "account.password.update.error";
    String ACCOUNT_PHONE_DUPLICATE = "account.phone.duplicate";
    String ACCOUNT_DUPLICATE = "account.duplicate";
    String ACCOUNT_UNIQUE_NUMBER_DUPLICATE = "account.unique.number.duplicate";
    String ACCOUNT_CURRENT_USER_NOT_DELETE = "account.current.user.not.delete";
    String ACCOUNT_NOT_ALLOWED_OPERATE_ADMIN = "account.not.allowed.operate.admin";
    //手机号格式错误
    String ACCOUNT_FORMAT_ERROR = "account.format.error";
    String ACCOUNT_IMPORT_ERROR = "account.import.error";
    String ACCOUNT_EXIST = "account.exist";
 
    //========== 角色相关 ==========
    String ROLE_NAME_EXISTS = "role.name.exists";
    String ROlE_NOT_EXISTS = "role.not.exists";
    String ROLE_USER_BOUND = "role.user.bound";
 
     //========== 菜单相关 ==========
 
    //========== 其他相关 ==========
    String REQUEST_FAILED = "request.failed";
 
    //========== 验证码相关 ==========
    String SMS_PUSH_FAILED = "sms.push.failed";
 
    //========== 权限组相关 ==========
    String SYS_GROUP_DELETE_FAIL = "sys.group.delete.fail";
 
    //========== 运维人员相关 ==========
    String OPERATIONS_USER_DELETE_FLEET_BOUND = "operations.user.delete.fleet.bound";
}