嗨森逛服务
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hai-server/hai-cweb/src/main/java/com/cweb/config/SysConfig.java

112 lines
2.4 KiB

package com.cweb.config;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;
@Component("sysConfig")
@ConfigurationProperties
@PropertySource("classpath:/config.properties")
public class SysConfig {
private String fileUrl;
private String wxAppId;
private String wxAppSecret;
private String wxApiKey;
private String wxMchId;
private String wxMchAppId;
private String wxSubAppId;
private String wxSubMchId;
private String wxUnifiedOrderUrl;
private String couponCodePath;
private String notifyUrl;
public String getFileUrl() {
return fileUrl;
}
public void setFileUrl(String fileUrl) {
this.fileUrl = fileUrl;
}
public String getWxAppId() {
return wxAppId;
}
public void setWxAppId(String wxAppId) {
this.wxAppId = wxAppId;
}
public String getWxAppSecret() {
return wxAppSecret;
}
public void setWxAppSecret(String wxAppSecret) {
this.wxAppSecret = wxAppSecret;
}
public String getWxApiKey() {
return wxApiKey;
}
public void setWxApiKey(String wxApiKey) {
this.wxApiKey = wxApiKey;
}
public String getWxMchId() {
return wxMchId;
}
public void setWxMchId(String wxMchId) {
this.wxMchId = wxMchId;
}
public String getWxUnifiedOrderUrl() {
return wxUnifiedOrderUrl;
}
public void setWxUnifiedOrderUrl(String wxUnifiedOrderUrl) {
this.wxUnifiedOrderUrl = wxUnifiedOrderUrl;
}
public String getNotifyUrl() {
return notifyUrl;
}
public void setNotifyUrl(String notifyUrl) {
this.notifyUrl = notifyUrl;
}
public String getCouponCodePath() {
return couponCodePath;
}
public void setCouponCodePath(String couponCodePath) {
this.couponCodePath = couponCodePath;
}
public String getWxSubMchId() {
return wxSubMchId;
}
public void setWxSubMchId(String wxSubMchId) {
this.wxSubMchId = wxSubMchId;
}
public String getWxMchAppId() {
return wxMchAppId;
}
public void setWxMchAppId(String wxMchAppId) {
this.wxMchAppId = wxMchAppId;
}
public String getWxSubAppId() {
return wxSubAppId;
}
public void setWxSubAppId(String wxSubAppId) {
this.wxSubAppId = wxSubAppId;
}
}