1
zj
2026-03-01 a3fad01004f2a3de679222394a30d3fda46cbe80
src/main/java/com/nq/service/impl/UserWithdrawServiceImpl.java
@@ -467,7 +467,7 @@
            params.put("payout_mode", "INDIA_IMPS"); // 代付模式,根据实际情况选择
            params.put("customer_account_type", userWithdraw.getBankAddress()); // 账号类型
            params.put("customer_account_no", userWithdraw.getBankNo()); // 收款人账号(银行卡号或UPI ID)
            params.put("notify_url", "https://api.durocaspitall.com/user/payoutCallback.do"); // 异步通知地址
            params.put("notify_url", "https://api.greenbackcaps.top/user/payoutCallback.do"); // 异步通知地址
            
            // 生成签名
            String sign = PaymentSignUtil.generateSign(params, key);
@@ -495,11 +495,11 @@
                userAssetsMapper.updateById(userAssets);
                
                userWithdraw.setWithStatus(2); // 失败
                userWithdraw.setWithMsg("代付下单失败:" + payoutResponse.getMessage());
                userWithdraw.setWithMsg("fail:" + payoutResponse.getMessage());
                userWithdraw.setTransTime(new Date());
                userWithdrawMapper.updateByPrimaryKeySelective(userWithdraw);
                
                return ServerResponse.createByErrorMsg("代付下单失败:" + payoutResponse.getMessage());
                return ServerResponse.createByErrorMsg("fail:" + payoutResponse.getMessage(),request);
            }
            
            // 保存代付记录