常量
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user