Constants.java
1.38 KB
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
56
57
58
59
/**
*
*/
package com.glsx.usercenter.constants;
/**
* @ClassName: Constants
* @Description: TODO(这里用一句话描述这个类的作用)
* @author Zheng Xiajun
* @date 2019年1月3日
*
*/
public interface Constants {
final static byte BUTTON = 1;
final static byte MENU = 2;
final static byte CATALOG = 3;
/**
* shiro-redis中存储session的key前缀
*/
public static final String SESSION_KEYPREFIX = "carservice:shiro:session:";
/**
* redis中的key值
*/
/**
* 短信验证码前缀
*/
public static final String SMS_VERIFY_CODE_PREFIX = "carservice:sms:verifyCode";
/**
* 服务商二维码Key
*/
public static final String SYS_SERVICE_QRIMAGE = "sys_service_QRImage";
/**
* 用户状态(停用)
*/
public static final String SYS_USER_STATUS_NONUSE = "sys_user_status_nonuse";
/**
* 用户状态(使用)
*/
public static final String SYS_USER_STATUS_NORMAL = "sys_user_status_normal";
/**
* 用户状态(注销)
*/
public static final String SYS_USER_STATUS_LOGOUT = "sys_user_status_logout";
/**
* 用户类型(0:系统管理员,1:服务商,2:门店,3:技工)
*/
public static final int USER_TYPE_MANAGER = 0;
public static final int USER_TYPE_SP = 1;
public static final int USER_TYPE_MERCHANT = 2;
public static final int USER_TYPE_MECHANIC = 3;
}