1
zj
3 days ago 6687364aa18a29baf8998dda815d6597deaa8112
src/main/java/com/nq/controller/protol/UserWithdrawController.java
@@ -51,12 +51,15 @@
        String requestId = user.getId() + "_" + amt + "_" + bankId;
//        if (user.getId() == 3080) {
//            return ServerResponse.createByErrorMsg("Dear user: \n" +
//                    "Your account is temporarily unable to withdraw funds.",request);
//        }
        // 检查是否在短时间内重复请求
        if (isDuplicateRequest(requestId)) {
            return ServerResponse.createByErrorMsg("重复提交,请稍后再试。!",request);
        }
        // 更新请求时间戳
        requestTimestamps.put(requestId, System.currentTimeMillis());