From 854aa5b79d3906b335524f09581f3a567a7bad49 Mon Sep 17 00:00:00 2001
From: peter <14100000001@qq.com>
Date: Thu, 30 Oct 2025 18:23:34 +0800
Subject: [PATCH] 周收益、代理后台入金 充值
---
src/main/java/com/nq/controller/protol/UserWithdrawController.java | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/main/java/com/nq/controller/protol/UserWithdrawController.java b/src/main/java/com/nq/controller/protol/UserWithdrawController.java
index fa607d8..5b8c926 100644
--- a/src/main/java/com/nq/controller/protol/UserWithdrawController.java
+++ b/src/main/java/com/nq/controller/protol/UserWithdrawController.java
@@ -61,9 +61,9 @@
requestTimestamps.put(requestId, System.currentTimeMillis());
try {
- if (!isIntegerGreaterThan100(amt)) {
- return ServerResponse.createByErrorMsg("请输入整数!",request);
- }
+// if (!isIntegerGreaterThan100(amt)) {
+// return ServerResponse.createByErrorMsg("请输入整数!",request);
+// }
synchronized (user.getId()){
serverResponse = this.iUserWithdrawService.outMoney(amt, user.getWithPwd(), accsetType,bankId,request);
}
@@ -87,7 +87,7 @@
public static boolean isIntegerGreaterThan100(String str) {
try {
int number = Integer.parseInt(str); // 尝试将字符串转换为整数
- return number > 100; // 判断是否大于100
+ return number >= 100; // 判断是否大于100
} catch (NumberFormatException e) {
return false; // 如果转换失败,说明不是整数
}
--
Gitblit v1.9.3