1
zj
2026-03-01 9f9aebc5441c2a8869d665670c47bc7be5266aa0
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());