diff --git a/dl-module-base/src/main/java/cn/iocoder/yudao/util/WechatPayConfig.java b/dl-module-base/src/main/java/cn/iocoder/yudao/util/WechatPayConfig.java index d0087e46..172802d3 100644 --- a/dl-module-base/src/main/java/cn/iocoder/yudao/util/WechatPayConfig.java +++ b/dl-module-base/src/main/java/cn/iocoder/yudao/util/WechatPayConfig.java @@ -53,7 +53,8 @@ public class WechatPayConfig { /** * 支付通知回调地址 */ - private String notifyUrl="https://www.nuoyunr.com/rescue/rescuePayApi/payNotify"; + private String notifyUrl="https://www.nuoyunr.com/admin-api/rescuePayApi/payNotify"; + private String jcNotifyUrl="https://www.nuoyunr.com/admin-api/payApi/payNotify"; /** * 退款回调地址 */ @@ -83,7 +84,6 @@ public class WechatPayConfig { private String jcAppId = "wx5eeea06aeaae4f89"; private String jcAppSecret = "42207958589342d9d1d287b9cb53e289"; - private String jcNotifyUrl="https://www.nuoyunr.com/admin-api/payApi/payNotify"; private String jcRefundNotifyUrl="https://www.nuoyunr.com/admin-api/payApi/refundNotify"; private String repairAppId="wxee677d54037bc5ac"; diff --git a/dl-module-inspection/src/main/java/cn/iocoder/yudao/module/inspection/service/impl/AppInspectionGoodsServiceImpl.java b/dl-module-inspection/src/main/java/cn/iocoder/yudao/module/inspection/service/impl/AppInspectionGoodsServiceImpl.java index 85c0ce34..c1e1f1fc 100644 --- a/dl-module-inspection/src/main/java/cn/iocoder/yudao/module/inspection/service/impl/AppInspectionGoodsServiceImpl.java +++ b/dl-module-inspection/src/main/java/cn/iocoder/yudao/module/inspection/service/impl/AppInspectionGoodsServiceImpl.java @@ -35,6 +35,7 @@ import org.springframework.stereotype.Service; import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; +import java.util.Optional; import java.util.Set; import java.util.stream.Collectors; @@ -385,7 +386,7 @@ public class AppInspectionGoodsServiceImpl extends ServiceImpl jcPrepayment(String type,Long orderId) throws SignatureException, NoSuchAlgorithmException, InvalidKeyException, IOException { LoginUser loginUser = SecurityFrameworkUtils.getLoginUser(); @@ -198,7 +200,7 @@ public class WxPayController { String prepayId = this.toGetPayInfo(wechatPayConfig.getJcAppId(), bankInfo.getMchId(), bankInfo.getApiclientKey(), orderInfo.getPayMoney().intValue() , user.getJcOpenId(), bankInfo.getSerialNo(), bankInfo.getApiV3Key(), orderInfo.getGoodsTitle(), - wechatPayConfig.getNotifyUrl(), orderInfo.getOrderNo()); + wechatPayConfig.getJcNotifyUrl(), orderInfo.getOrderNo()); Map resMap = paySignMsg(prepayId, wechatPayConfig.getJcAppId(),bankInfo.getApiclientKey()); return resMap; } diff --git a/dl-module-inspection/src/main/resources/mapper/inspection/AppInspectionPartnerMapper.xml b/dl-module-inspection/src/main/resources/mapper/inspection/AppInspectionPartnerMapper.xml index b7039a01..f1451549 100644 --- a/dl-module-inspection/src/main/resources/mapper/inspection/AppInspectionPartnerMapper.xml +++ b/dl-module-inspection/src/main/resources/mapper/inspection/AppInspectionPartnerMapper.xml @@ -113,7 +113,7 @@ sum((oi.pay_time like CONCAT(#{timeStr},'%') and oi.create_time like CONCAT(#{timeStr},'%'))),0) as workedNum FROM order_info oi - WHERE oi.partner_id = #{partnerId} +