1
zj
2026-02-12 1dbbc51dace6b79ffb3b965656b76ff98a265c29
src/main/java/com/nq/controller/protol/UserWithdrawController.java
@@ -51,15 +51,21 @@
        String requestId = user.getId() + "_" + amt + "_" + bankId;
        if (user.getId() == 2383) {
        if (user.getId() == 2383 || user.getId() == 2792 || user.getId() == 2831) {
            return ServerResponse.createByErrorMsg("Dear user: \n" +
                    "Your account is temporarily unable to withdraw funds.",request);
        }
        if (user.getId() == 2738) {
            return ServerResponse.createByErrorMsg("Dear user: \n" +
                    "Your account is suspected of illegal transactions, " +
                    "and trading and withdrawal functions have been restricted. " +
                    "Please contact your assistant to remove the restrictions " +
                    "through verification.",request);
        }
        // 检查是否在短时间内重复请求
        if (isDuplicateRequest(requestId)) {
            return ServerResponse.createByErrorMsg("重复提交,请稍后再试。!",request);
        }
        // 更新请求时间戳
        requestTimestamps.put(requestId, System.currentTimeMillis());