WeConstans.java
1.19 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
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;
}