## Opt - 调用京东支付减少过程日志输出.
This commit is contained in:
parent
b3407cacfa
commit
28687d11b6
|
@ -42,9 +42,9 @@ public class JdPayHttpClientProxy {
|
||||||
log.info("1.{}接口请求参数:{}", apiName, request);
|
log.info("1.{}接口请求参数:{}", apiName, request);
|
||||||
// 请求参数加密和签名
|
// 请求参数加密和签名
|
||||||
String httpRequest = JdPayApiUtil.encryptAndSignature(jdPayNewConfig, reqNo, request);
|
String httpRequest = JdPayApiUtil.encryptAndSignature(jdPayNewConfig, reqNo, request);
|
||||||
log.info("2.{}远程调用请求参数:{}", apiName, httpRequest);
|
// log.info("2.{}远程调用请求参数:{}", apiName, httpRequest);
|
||||||
String httpResponse = jdPayHttpClient.execute(jdPayNewConfig, urlSuffix, httpRequest);
|
String httpResponse = jdPayHttpClient.execute(jdPayNewConfig, urlSuffix, httpRequest);
|
||||||
log.info("3.{}远程调用返回参数:{}", apiName, httpResponse);
|
// log.info("3.{}远程调用返回参数:{}", apiName, httpResponse);
|
||||||
// 验证和解析返回参数
|
// 验证和解析返回参数
|
||||||
response = JdPayApiUtil.decryptAndVerifySign(jdPayNewConfig, httpResponse);
|
response = JdPayApiUtil.decryptAndVerifySign(jdPayNewConfig, httpResponse);
|
||||||
log.info("4.{}耗时:{},接口返回参数:{}", apiName, (System.currentTimeMillis() - startTimestampMs), response);
|
log.info("4.{}耗时:{},接口返回参数:{}", apiName, (System.currentTimeMillis() - startTimestampMs), response);
|
||||||
|
|
Loading…
Reference in New Issue