mirror of
https://gitee.com/egzosn/pay-java-parent.git
synced 2026-05-22 18:11:39 +08:00
请求工具优化
This commit is contained in:
@@ -62,7 +62,10 @@ public enum PayType implements BasePayType {
|
||||
configStorage.setMsgType(apyAccount.getMsgType());
|
||||
configStorage.setInputCharset(apyAccount.getInputCharset());
|
||||
configStorage.setTest(apyAccount.isTest());
|
||||
return new AliPayService(configStorage);
|
||||
HttpConfigStorage httpConfigStorage = new HttpConfigStorage();
|
||||
httpConfigStorage.setMaxTotal(10);
|
||||
httpConfigStorage.setDefaultMaxPerRoute(10);
|
||||
return new AliPayService(configStorage, httpConfigStorage);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user