We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42a9068 commit f5b5c48Copy full SHA for f5b5c48
pay-java-demo/src/main/java/in/egan/pay/demo/service/PayResponse.java
@@ -55,14 +55,19 @@ public void init(ApyAccount apyAccount) {
55
}
56
57
/**
58
- * 获取http配置,如果配置为null则为默认配置,无代理
+ * 获取http配置,如果配置为null则为默认配置,无代理。
59
+ * 此处非必需
60
* @return
61
*/
62
public HttpConfigStorage getHttpConfigStorage(){
63
HttpConfigStorage httpConfigStorage = new HttpConfigStorage();
64
+ //http代理地址
65
httpConfigStorage.setHttpProxyHost("192.168.1.69");
66
+ //代理端口
67
httpConfigStorage.setHttpProxyPort(3308);
68
+ //代理用户名
69
httpConfigStorage.setHttpProxyUsername("user");
70
+ //代理密码
71
httpConfigStorage.setHttpProxyPassword("password");
72
return httpConfigStorage;
73
0 commit comments