package com.stylefeng.guns.modular.system.util.alipay;
|
|
import org.springframework.beans.factory.annotation.Value;
|
import org.springframework.stereotype.Component;
|
|
@Component
|
public class AlipayProperties {
|
|
@Value("${alipay.appId}")
|
private String appId;//支付宝appid
|
|
@Value("${alipay.appCertPath}")
|
private String appCertPath;//应用公钥
|
|
@Value("${alipay.rootCertPath}")
|
private String rootCertPath;//支付宝根证书
|
|
@Value("${alipay.alipayPublicCertPath}")
|
private String alipayPublicCertPath;//支付宝公钥
|
|
@Value("${alipay.privateKey}")
|
private String privateKey;//应用私钥
|
|
public String getAppId() {
|
return appId;
|
}
|
|
public void setAppId(String appId) {
|
this.appId = appId;
|
}
|
|
public String getAppCertPath() {
|
return appCertPath;
|
}
|
|
public void setAppCertPath(String appCertPath) {
|
this.appCertPath = appCertPath;
|
}
|
|
public String getRootCertPath() {
|
return rootCertPath;
|
}
|
|
public void setRootCertPath(String rootCertPath) {
|
this.rootCertPath = rootCertPath;
|
}
|
|
public String getAlipayPublicCertPath() {
|
return alipayPublicCertPath;
|
}
|
|
public void setAlipayPublicCertPath(String alipayPublicCertPath) {
|
this.alipayPublicCertPath = alipayPublicCertPath;
|
}
|
|
public String getPrivateKey() {
|
return privateKey;
|
}
|
|
public void setPrivateKey(String privateKey) {
|
this.privateKey = privateKey;
|
}
|
}
|