package com.ruoyi.system.utils.wx;
|
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
import org.springframework.context.annotation.Configuration;
|
|
@Configuration
|
@ConfigurationProperties(prefix = WxProperties.WX_PREFIX)
|
public class WxProperties {
|
|
public static final String WX_PREFIX = "wx";
|
|
private String memberAppId;
|
|
private String memberAppSecret;
|
private String appId;
|
/**
|
* 微信支付商户号
|
*/
|
private String mchId;
|
/**
|
* 微信支付商户密钥
|
*/
|
private String mchKey;
|
/**
|
* apiclient_cert.p12文件的绝对路径,或者如果放在项目中,请以classpath:开头指定
|
*/
|
private String keyPath;
|
|
private String callbackPath;
|
|
private String staffAppId;
|
|
private String staffAppSecret;
|
|
private String notifyUrl;
|
|
public String getNotifyUrl() {
|
return notifyUrl;
|
}
|
|
public void setNotifyUrl(String notifyUrl) {
|
this.notifyUrl = notifyUrl;
|
}
|
|
public String getMemberAppId() {
|
return memberAppId;
|
}
|
|
public void setMemberAppId(String memberAppId) {
|
this.memberAppId = memberAppId;
|
}
|
|
public String getMemberAppSecret() {
|
return memberAppSecret;
|
}
|
|
public void setMemberAppSecret(String memberAppSecret) {
|
this.memberAppSecret = memberAppSecret;
|
}
|
|
public String getStaffAppId() {
|
return staffAppId;
|
}
|
|
public void setStaffAppId(String staffAppId) {
|
this.staffAppId = staffAppId;
|
}
|
|
public String getStaffAppSecret() {
|
return staffAppSecret;
|
}
|
|
public String getMchId() {
|
return mchId;
|
}
|
|
public void setMchId(String mchId) {
|
this.mchId = mchId;
|
}
|
|
public String getMchKey() {
|
return mchKey;
|
}
|
|
public void setMchKey(String mchKey) {
|
this.mchKey = mchKey;
|
}
|
|
public String getKeyPath() {
|
return keyPath;
|
}
|
|
public void setKeyPath(String keyPath) {
|
this.keyPath = keyPath;
|
}
|
|
|
public String getCallbackPath() {
|
return callbackPath;
|
}
|
|
public void setCallbackPath(String callbackPath) {
|
this.callbackPath = callbackPath;
|
}
|
|
public void setStaffAppSecret(String staffAppSecret) {
|
this.staffAppSecret = staffAppSecret;
|
}
|
|
public String getAppId() {
|
return appId;
|
}
|
|
public void setAppId(String appId) {
|
this.appId = appId;
|
}
|
}
|