This commit is contained in:
鲨鱼
2024-12-21 00:30:25 +08:00
parent 583fb29acc
commit fc144afd3e
4 changed files with 4 additions and 4 deletions

View File

@@ -64,7 +64,7 @@ public class PayTrdV1Service implements PayTrdService {
throw new ServiceException("调用支付失败"); throw new ServiceException("调用支付失败");
} }
if(!"SUCCESS".equals(jsonObject.getString("retCode"))){ if(!"SUCCESS".equals(jsonObject.getString("retCode"))){
log.info("第三方支付失败 V1统一支付失败失败 dto={}, payTrdConfig={}, typeEnum={}", body, JSON.toJSONString(payTrdConfig), JSON.toJSONString(jsonObject)); log.info("第三方支付失败 V1统一支付失败失败 url={} body={}, payTrdConfig={}, typeEnum={}", url, body, JSON.toJSONString(payTrdConfig), JSON.toJSONString(jsonObject));
throw new ServiceException("调用支付失败"); throw new ServiceException("调用支付失败");
} }
String payUrl = jsonObject.getJSONObject("payParams").getString("payUrl"); String payUrl = jsonObject.getJSONObject("payParams").getString("payUrl");

View File

@@ -74,7 +74,7 @@ public class PayTrdV2Service implements PayTrdService {
throw new ServiceException("调用支付失败"); throw new ServiceException("调用支付失败");
} }
if(!"0".equals(jsonObject.getString("retCode"))){ if(!"0".equals(jsonObject.getString("retCode"))){
log.info("第三方支付失败 V2统一支付失败失败 dto={}, payTrdConfig={}, typeEnum={}", body, JSON.toJSONString(payTrdConfig), JSON.toJSONString(jsonObject)); log.info("第三方支付失败 V2统一支付失败失败 url={} body={}, payTrdConfig={}, typeEnum={}", url, body, JSON.toJSONString(payTrdConfig), JSON.toJSONString(jsonObject));
throw new ServiceException("调用支付失败"); throw new ServiceException("调用支付失败");
} }
String payMethod = jsonObject.getString("payMethod"); String payMethod = jsonObject.getString("payMethod");

View File

@@ -63,7 +63,7 @@ public class PayTrdV3Service implements PayTrdService {
throw new ServiceException("调用支付失败"); throw new ServiceException("调用支付失败");
} }
if(!"SUCCESS".equals(jsonObject.getString("retCode"))){ if(!"SUCCESS".equals(jsonObject.getString("retCode"))){
log.info("第三方支付失败 V3 统一支付失败失败 dto={}, payTrdConfig={}, typeEnum={}", body, JSON.toJSONString(payTrdConfig), JSON.toJSONString(jsonObject)); log.info("第三方支付失败 V3 统一支付失败失败 url={} body={}, payTrdConfig={}, typeEnum={}", url,body, JSON.toJSONString(payTrdConfig), JSON.toJSONString(jsonObject));
throw new ServiceException("调用支付失败"); throw new ServiceException("调用支付失败");
} }
String payUrl = jsonObject.getJSONObject("payParams").getString("payUrl"); String payUrl = jsonObject.getJSONObject("payParams").getString("payUrl");

View File

@@ -63,7 +63,7 @@ public class PayTrdV4Service implements PayTrdService {
throw new ServiceException("调用支付失败"); throw new ServiceException("调用支付失败");
} }
if(!"0000".equals(jsonObject.getString("code"))){ if(!"0000".equals(jsonObject.getString("code"))){
log.info("第三方支付失败 V4 统一支付失败失败 dto={}, payTrdConfig={}, typeEnum={}", body, JSON.toJSONString(payTrdConfig), JSON.toJSONString(jsonObject)); log.info("第三方支付失败 V4 统一支付失败失败 url={} body={}, payTrdConfig={}, typeEnum={}", url, body, JSON.toJSONString(payTrdConfig), JSON.toJSONString(jsonObject));
throw new ServiceException("调用支付失败"); throw new ServiceException("调用支付失败");
} }
String payUrl = jsonObject.getJSONObject("data").getString("url"); String payUrl = jsonObject.getJSONObject("data").getString("url");