退款更改

This commit is contained in:
zhujunshuai 2023-04-24 14:47:28 +08:00
parent 3e7655cd96
commit 69eea7ab5f
1 changed files with 5 additions and 1 deletions

View File

@ -17,6 +17,7 @@ import cn.pluss.platform.mapper.*;
import cn.pluss.platform.openAccount.OpenAccountRecordService;
import cn.pluss.platform.pay.PayService;
import cn.pluss.platform.phoneValidateCode.PhoneValidateCodeService;
import cn.pluss.platform.sxf.pay.SxfPayService;
import cn.pluss.platform.util.DateUtils;
import cn.pluss.platform.util.StringUtil;
import cn.pluss.platform.util.ValidateCodeUtil;
@ -95,6 +96,9 @@ public class MercOrderDetailServiceImpl extends ServiceImpl<MercOrderDetailMappe
@Resource
private OpenAccountRecordService openAccountRecordService;
@Resource
private SxfPayService sxfPayService;
/**
* 阿里云key
@ -264,7 +268,7 @@ public class MercOrderDetailServiceImpl extends ServiceImpl<MercOrderDetailMappe
case 1:
MerchantChannelStatus channelInfo = merchantChannelStatusMapper.getByMerchantCode(orderByNo.getMerchantCode(), 1);
MsgException.checkNull(channelInfo, "收款商户通道信息异常!");
result = ysPayOldService.refundPay(order, channelInfo.getMerchantId());
result = sxfPayService.refundPay(order, channelInfo.getMerchantId());
break;
case 2:
case 3: