com.zopen.ato.properties.WechatWorkProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zopen-ato-starter Show documentation
Show all versions of zopen-ato-starter Show documentation
Alibaba Tencent And Others For Spring Boot.
package com.zopen.ato.properties;
import org.springframework.boot.context.properties.ConfigurationProperties;
@ConfigurationProperties(prefix = "zopen.wechat.work")
public class WechatWorkProperties {
// 是否开启企业微信相关功能(开启后会定期自动获取 access_token)
private Boolean open = Boolean.FALSE;
// 本项目的域名地址(用于回调地址前缀)
private String domainUrl;
@Override
public String toString() {
return "WechatWorkProperties{" +
"open=" + open +
", domainUrl='" + domainUrl + '\'' +
'}';
}
public Boolean getOpen() {
return open;
}
public void setOpen(Boolean open) {
this.open = open;
}
public String getDomainUrl() {
return domainUrl;
}
public void setDomainUrl(String domainUrl) {
this.domainUrl = domainUrl;
}
}