WeConstans.java
2.55 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
135
136
137
138
139
140
141
142
143
package com.linkwechat.common.constant;
/**
* @description: 企业微信相关常量
* @author: HaoN
* @create: 2020-08-26 17:01
**/
public class WeConstans {
/**
* 企业微信相关token
*/
public static final String WE_COMMON_ACCESS_TOKEN = "we_common_access_token";
/**
* 获取外部联系人相关 token
*/
public static final String WE_CONTACT_ACCESS_TOKEN = "we_contact_access_token";
/**
* 企业微信接口返回成功code
*/
public static final Integer WE_SUCCESS_CODE = 0;
/**
* 企业微信端根部门id
*/
public static final Long WE_ROOT_DEPARMENT_ID = 1L;
/**
* 企业微信通讯录用户启用
*/
public static final Integer WE_USER_START = 1;
/**
* 企业微信通讯录用户停用
*/
public static final Integer WE_USER_STOP = 0;
/**
* 同步功能提示语
*/
public static final String SYNCH_TIP = "后台开始同步数据,请稍后关注进度";
/**
* 离职未分配
*/
public static final Integer LEAVE_NO_ALLOCATE_STATE = 5;
/**
* 离职已分配分配
*/
public static final Integer LEAVE_ALLOCATE_STATE = 6;
/**
* 企业微信素材目录根id
*/
public static final Integer WE_ROOT_CATEGORY_ID = 0;
/**
* 单人活码
*/
public static final Integer SINGLE_EMPLE_CODE_TYPE = 1;
/**
* 多人活码
*/
public static final Integer MANY_EMPLE_CODE_TYPE = 2;
/**
* 批量单人活码
*/
public static final Integer BATCH_SINGLE_EMPLE_CODE_TYPE = 3;
/**
* 在小程序中联系场景
*/
public static final Integer SMALL_ROUTINE_EMPLE_CODE_SCENE=1;
/**
* 通过二维码联系场景
*/
public static final Integer QR_CODE_EMPLE_CODE_SCENE=2;
/**
* 微信接口相应端错误字段
*/
public static final String WE_ERROR_FIELD="errcode";
/**
* 递归
*/
public static final Integer YES_IS_RECURSION=0;
/**
* 获取所有子部门数据
*/
public static final Integer DEPARTMENT_SUB_WEUSER=1;
/**
* 获取当前部门
*/
public static final Integer DEPARTMENT_CURRENT_WEUSER=0;
/**
* 通讯录用户激活
*/
public static final Integer YES_IS_ACTIVATE=1;
/**
* 通讯录用户未激活
*/
public static final Integer NO_IS_ACTIVATE=2;
/**
* 不存在外部联系人的关系
*/
public static final Integer NOT_EXIST_CONTACT=84061;
}