package com.zteits.configuration.bank; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Component; /** * 农业银行证书配置 * * @param * @return * @Author: xiejianpeng * @Date: 2021/1/11 15:10 */ @Component public class ABCBankConfigure { @Value("${abcbankpay.notify.url}") public String ABCBANKPAY_NOTIFY_URL; /**post地址前缀*/ public static String postUrl = "http://219.142.79.157/yh-web/quickpaypark/"; /**普通商户号*/ public static String keystore = "103880523010287"; /**普通商户证书密码*/ public static String keystore_password = "zzwl8888"; /**综合收银台商户号*/ public static String com_keystore = "103882200000958"; /**综合收银台商户号证书密码*/ public static String com_keystore_password = "11112222"; /**普通商户商户证书地址*/ public static String pfxLocalPath = System.getProperty("user.dir")+"/src/main/resources/bank/"; /**农行公钥*/ public static String certLocalPath = System.getProperty("user.dir")+"/src/main/resources/bank/TrustPayTest.cer"; /**truststore*/ public static String truststoreLocalPath = System.getProperty("user.dir")+"/src/main/resources/bank/abctest.truststore"; }