支付回调测试

This commit is contained in:
2024-10-08 17:15:41 +08:00
parent b9cce3bdf1
commit 10f17d521e
5 changed files with 12 additions and 23 deletions

View File

@@ -61,8 +61,8 @@ public class TbPayServiceImpl implements TbPayService {
private String thirdPayType;
@Value("${thirdPay.url}")
private String url;
@Value("${thirdPay.callBack}")
private String callBack;
@Value("${thirdPay.notify.fstPay}")
private String fstPayNotify;
private final TbOrderInfoMapper orderInfoMapper;
@@ -269,7 +269,7 @@ public class TbPayServiceImpl implements TbPayService {
reqbody, reqbody,
BigDecimal.valueOf(payment.getAmount()).setScale(2, RoundingMode.DOWN).multiply(new BigDecimal(100)).longValue(),
payType.equals("wechatPay") ? thirdApply.getSmallAppid() : null,
code, DateUtils.getSsdfTimes(), thirdApply.getStoreId(), callBack, thirdApply.getAppToken());
code, DateUtils.getSsdfTimes(), thirdApply.getStoreId(), fstPayNotify, thirdApply.getAppToken());
log.info("响应信息, {}", publicResp);
if (ObjectUtil.isNotNull(publicResp) && ObjectUtil.isNotEmpty(publicResp)) {
if ("000000".equals(publicResp.getCode())) {