forked from angelo/java-retail-app
Compare commits
No commits in common. "75c44c959f855489772c228abf4b9b1af6f0df04" and "42214d9c3d515d4d3fa52da456ec76e003c89b88" have entirely different histories.
75c44c959f
...
42214d9c3d
|
|
@ -42,9 +42,9 @@ public class JdPayHttpClientProxy {
|
|||
log.info("1.{}接口请求参数:{}", apiName, 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);
|
||||
// log.info("3.{}远程调用返回参数:{}", apiName, httpResponse);
|
||||
log.info("3.{}远程调用返回参数:{}", apiName, httpResponse);
|
||||
// 验证和解析返回参数
|
||||
response = JdPayApiUtil.decryptAndVerifySign(jdPayNewConfig, httpResponse);
|
||||
log.info("4.{}耗时:{},接口返回参数:{}", apiName, (System.currentTimeMillis() - startTimestampMs), response);
|
||||
|
|
|
|||
|
|
@ -214,7 +214,7 @@ public class JdPayServiceImpl implements IJdPayService {
|
|||
return AjaxResult.success("已支付订单 无需补偿回调!");
|
||||
}
|
||||
log.info("queryOrder : {}", JSONUtil.toJsonStr(response));
|
||||
if ("FINI".equals(response.getTradeStatus())){
|
||||
{
|
||||
// 支付成功处理
|
||||
|
||||
// 商户订单号
|
||||
|
|
|
|||
Loading…
Reference in New Issue