支付参数5

This commit is contained in:
2026-01-15 14:15:32 +08:00
parent 2c417daa3f
commit c151a0188d

View File

@@ -185,11 +185,11 @@ public class PayServiceImpl implements PayService {
throw new CzgException("暂未开通支付!");
}
if (shopMerchant.getChannel().equals(PayChannelCst.NATIVE)) {
if (StrUtil.isNotBlank(shopMerchant.getNativePayJson())) {
if (StrUtil.isBlank(shopMerchant.getNativePayJson())) {
throw new CzgException("原生支付未开通");
}
} else if (shopMerchant.getChannel().equals(PayChannelCst.POLY)) {
if (StrUtil.isNotBlank(shopMerchant.getPolyPayJson())) {
if (StrUtil.isBlank(shopMerchant.getPolyPayJson())) {
throw new CzgException("聚合支付未开通");
}
} else {