ABCBankConfigure.java
1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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";
}