Constants.java
3.8 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
/**
*
*/
package com.glsx.common.constants;
/**
* @ClassName: Constants
* @Description: TODO(这里用一句话描述这个类的作用)
* @author Zheng Xiajun
* @date 2019年1月3日
*
*/
public interface Constants {
final static int OPERATION_INSERT = 1;
final static int OPERATION_delete = 0;
/*
*session中的用户名
*/
public static final String SESSION_USERNAME_KEY = "username";
/*
* session中的用户id
*/
public static final String SESSION_USERID_KEY = "userId";
/*
*字典: 操作日志-操作类型-新增
*/
public static final String SYS_LOG_OPERATE_TYPE_SAVE = "sys_log_operate_type_save";
/*
*字典: 操作日志-操作类型-编辑
*/
public static final String SYS_LOG_OPERATE_TYPE_UPDATE = "sys_log_operate_type_update";
/*
*字典: 操作日志-操作类型-删除
*/
public static final String SYS_LOG_OPERATE_TYPE_DELETE = "sys_log_operate_type_delete";
/*
*字典: 操作日志-操作类型-导出
*/
public static final String SYS_LOG_OPERATE_TYPE_EXPORT = "sys_log_operate_type_export";
/*
*字典: 操作日志-操作类型-重置(密码)
*/
public static final String SYS_LOG_OPERATE_TYPE_RESET = "sys_log_operate_type_reset";
/*
*字典: 操作日志-操作类型-资源绑定
*/
public static final String SYS_LOG_OPERATE_TYPE_BIND = "sys_log_operate_type_bind";
/*
*字典: 操作日志-操作状态-成功
*/
public static final String SYS_LOG_OPERATE_STATUS_SUCCESS = "sys_log_operate_status_success";
/*
*字典: 操作日志-操作状态-失败
*/
public static final String SYS_LOG_OPERATE_STATUS_FAIL = "sys_log_operate_status_fail";
/*
*字典: 操作日志-操作状态-
*/
public static final String SYS_LOG_OPERATE_STATUS_UNKNOW = "sys_log_operate_status_unknow";
/**
* 用户token放到请求头中的key
*/
public static final String USER_TOKEN_KEY = "authorization";
public static final String REQUEST_COOKIE_KEY = "cookie";
/**
* 用户状态(停用)
*/
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;
/**
* 技工接单状态:1:可接单,2:不可接单
*/
public static final int USER_MECHANIC_ORDER_RECIVE = 1;
public static final int USER_MECHANIC_ORDER_NOT_RECIVE = 2;
/**
* 缓存key
*/
public static final String WECHAT_TOKEN_KEY = "carservice:wechat:public:token";
public static final String WECHAT_TICKET_KEY = "carservice:wechat:public:ticket";
/**
* 微信公众号配置
*/
/**
* 包活干公众号appid
*/
public static final String WECHAT_BHG_PUBLIC_APPID = "wechat_bhg_public_appid";
/**
* 包活干公众号的appsecret
*/
public static final String WECHAT_BHG_PUBLIC_SECRET = "wechat_bhg_public_secret";
/**
* 微信小程序appid
*/
public static final String WECHAT_bhg_MINI_APPID = "wechat_bhg_mini_appid";
/**
* 微信跳转页面
*/
public static final String WECHAT_bhg_MINI_REPAY_PAGE_PATH = "wechat_bhg_mini_repay_page_path";
/**
* 微信推送还款公众号模板id
*/
public static final String WECHAT_bhg_REPAY_TEMPLATEID = "wechat_bhg_templateid";
/**
* 高德地图用户key
*/
public static final String AMAP_USER_KEY = "amap_user_key";
}