1
zj
2025-07-23 b3d754191cd615048cf850734e89e823128ffbfc
src/main/java/com/nq/service/impl/PayServiceImpl.java
@@ -85,7 +85,7 @@
    public ServerResponse thirdPartyRecharge(HttpServletRequest request, String tradeAmount, Integer type) throws UnsupportedEncodingException, JsonProcessingException, NoSuchAlgorithmException {
        // 支付1
        String reqUrl = "https://api.watchglbpay.com/pay/web";
        String reqUrl = "https://api.watchglb.com/pay/web";
        // 支付2
        String uipReqRul = "https://v2.fastechservicepro.com/payin/unifiedorder";
@@ -915,18 +915,19 @@
                    .last("limit 1")
            );
            if(!vo.getStatus().equals("payin_ing")){
            if(vo.getStatus().equals("payin_ing")){
                log.error("充值2回调交易中:"+vo.toString());
                return;
            }
            if(!vo.getStatus().equals("payin_fail")){
            }else if(vo.getStatus().equals("payin_fail")){
                paymentRecharge.setStatus(2);
                paymentRecharge.setAmount(new BigDecimal(vo.getAccount_fee()));
                paymentRecharge.setPayInfo(vo.toString());
                paymentRechargeService.updateById(paymentRecharge);
                log.error("充值回调失败:"+vo.toString());
                return;
            }else if(!vo.getStatus().equals("payin_fail") && !vo.getStatus().equals("payin_ing") && !vo.getStatus().equals("payin_success")){
                log.error("充值回调失败----未知状态:"+vo.toString());
                return;
            }
            if(ObjectUtils.isEmpty(paymentRecharge)){