wuxw
2022-12-21 b8d1f25f4fdb9d8bc109c103e84307d6925ce218
service-acct/src/main/java/com/java110/acct/cmd/payment/UnifiedPaymentCmd.java
@@ -66,7 +66,7 @@
    private static final Logger logger = LoggerFactory.getLogger(UnifiedPaymentCmd.class);
    protected static final String DEFAULT_PAYMENT_ADAPT = "wechatPaymentAdapt";// 默认微信通用支付
    protected static final String DEFAULT_PAYMENT_ADAPT = "wechatPaymentFactory";// 默认微信通用支付
    /**
     * 校验
@@ -101,8 +101,11 @@
        logger.debug(">>>>>>>>>>>>>>>>支付业务下单返回,{}",JSONObject.toJSONString(paymentOrderDto));
        String env = MappingCache.getValue("HC_ENV");
        // 3.0 如果支付金额为0 直接调用 支付完通知接口
        if (paymentOrderDto.getMoney() <= 0) {
        // 这里 演示环境不向微信下单
        if (paymentOrderDto.getMoney() <= 0 || "DEV".equals(env) || "TEST".equals(env)) {
            paymentBusiness.notifyPayment(paymentOrderDto,reqJson);
            JSONObject param = new JSONObject();
            param.put("code", "100");