|
@@ -246,7 +246,7 @@ public class PayNonOrderServiceImpl implements PayNonOrderService {
|
|
|
log.info("******************** 二手发布支付异步回调 start *******************");
|
|
|
// 公钥解密
|
|
|
JSONObject json = PayUtil.publicKeyDecrypt(data, PayUtil.publicKey);
|
|
|
- log.info("公钥解密>>>>>>" + json);
|
|
|
+ log.info("【二手发布支付异步回调】>>>>>>>>>>>>>>公钥解密:" + json);
|
|
|
// 公钥验签
|
|
|
String signaa = json.getString("sign");
|
|
|
json.remove("sign");
|
|
@@ -262,10 +262,11 @@ public class PayNonOrderServiceImpl implements PayNonOrderService {
|
|
|
String attach = json.getString("attach");
|
|
|
// 订单金额,以元为单位
|
|
|
BigDecimal amount = json.getBigDecimal("amount");
|
|
|
- log.info("订单状态>>>>>>" + orderStatus);
|
|
|
+ log.info("【二手发布支付异步回调】>>>>>>>>>>>>>>支付订单状态:" + orderStatus);
|
|
|
if ("FAILED".equals(orderStatus)) {
|
|
|
return "支付失败";
|
|
|
}
|
|
|
+ log.info("【二手发布支付异步回调】>>>>>>>>>>>>>>本次支付金额:" + amount);
|
|
|
String[] split = attach.split(",");
|
|
|
// 订单id
|
|
|
Integer productId = Integer.valueOf(split[0]);
|