From 3a1977e8cc0c5fffbc6490f220f30116af6cce86 Mon Sep 17 00:00:00 2001
From: zj <1772600164@qq.com>
Date: Wed, 14 Jan 2026 15:17:07 +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