WeComeConfig.java
1.06 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
package com.linkwechat.common.config;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
/**
* @Author: Robin
* @Description: 企业微信配置文件相关
* @Date: create in 2020/9/3 0003 23:25
*/
@Component
@ConfigurationProperties(prefix = "wecome")
@Data
public class WeComeConfig {
/** 企业微信后台地址 */
private String serverUrl;
/** 企业微信后台地址前缀 */
private String weComePrefix;
/** 企业微信端无需token的url */
private String[] noAccessTokenUrl;
/** 需要使用外部联系人token的url*/
private String[] needContactTokenUrl;
/** 文件上传url*/
private String[] fileUplodUrl;
/** 需要供应商token的url*/
private String[] needProviderTokenUrl;
/** 会话存档所需token 的url */
private String[] needChatTokenUrl;
/** 应用所需token 的url **/
private String[] needAgentTokenUrl;
/** 第三方自建应用得url*/
private String[] thirdAppUrl;
}