ximon-admin/src/main/java/com/sandu/ximon/admin/pay/wxpay/UsrWxPayConfigService.java
@@ -42,6 +42,10 @@ WxConfigEntity config; //未设置支付参数,则使用默认支付参数 config = getOne(Wrappers.lambdaQuery(WxConfigEntity.class).eq(WxConfigEntity::getClientId, pole.getClientId()).eq(WxConfigEntity::getState, 1)); // if (pole.getClientId() == null) { //没有归属的灯杆使用默认配置 // config = getById(15); // } if (config == null) { throw new BusinessException("用户未配置支付配置,请配置后重试"); }