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
package com.ruoyi.common.core.enums;
 
import lombok.AllArgsConstructor;
import lombok.Getter;
 
/**
 * 登录类型
 *
 * @author Lion Li
 */
@Getter
@AllArgsConstructor
public enum LoginType {
 
    /**
     * 密码登录
     */
    PASSWORD("user.password.retry.limit.exceed", "user.password.retry.limit.count"),
 
    /**
     * 短信登录
     */
    SMS("sms.code.retry.limit.exceed", "sms.code.retry.limit.count"),
 
    /**
     * 小程序登录
     */
    XCX("", "");
 
    /**
     * 登录重试超出限制提示
     */
    final String retryLimitExceed;
 
    /**
     * 登录重试限制计数提示
     */
    final String retryLimitCount;
}