This commit is contained in:
2026-01-15 14:31:26 +08:00
parent c151a0188d
commit 9834c59fc7
5 changed files with 27 additions and 32 deletions

View File

@@ -91,11 +91,12 @@ public class PayServiceImpl implements PayService {
String payData = null;
if (shopMerchant.getChannel().equals(PayChannelCst.NATIVE)) {
payData = shopMerchant.getNativePayJson();
bizData.setNotifyUrl(sysParamsService.getSysParamValue(ParamCodeCst.System.NATIVE_REFUND_NOTIFY_URL));
} else if (shopMerchant.getChannel().equals(PayChannelCst.POLY)) {
payData = shopMerchant.getPolyPayJson();
bizData.setNotifyUrl(sysParamsService.getSysParamValue(ParamCodeCst.System.POLY_REFUND_NOTIFY_URL));
}
// bizData.setNotifyUrl(sysParamsService.getSysParamValue(ParamCodeCst.System.PAY_CZG_REFUND_NOTIFY_URL));
return adapter.refund(getDomain(), payData, "", bizData);
return adapter.refund(getDomain(), payData, bizData);
}
@Override
@@ -199,7 +200,7 @@ public class PayServiceImpl implements PayService {
}
private String getDomain() {
return sysParamsService.getSysParamValue(ParamCodeCst.System.PAY_CZG_DOMAIN);
return sysParamsService.getSysParamValue(ParamCodeCst.System.POLY_DOMAIN);
}
private String getNotifyUrl(String channel) {