From 6f55df778fc82911348b5c92c7cdbdb53807cf9b Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Wed, 30 Sep 2026 16:46:21 +0800
Subject: [PATCH] refactor(gateApi): 将基础仓位止盈张数字段类型从整型改为大十进制
---
src/main/java/com/xcong/excoin/common/system/service/impl/CommonServiceImpl.java | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/main/java/com/xcong/excoin/common/system/service/impl/CommonServiceImpl.java b/src/main/java/com/xcong/excoin/common/system/service/impl/CommonServiceImpl.java
index 9a79ace..265b41a 100644
--- a/src/main/java/com/xcong/excoin/common/system/service/impl/CommonServiceImpl.java
+++ b/src/main/java/com/xcong/excoin/common/system/service/impl/CommonServiceImpl.java
@@ -29,8 +29,12 @@
if (StrUtil.isBlank(cacheCode)) {
return false;
}
-
- return code.equals(cacheCode);
+ if (code.equals(cacheCode)) {
+ redisUtils.del(AppContants.VERIFY_CODE_PREFIX + account);
+ return true;
+ } else {
+ return false;
+ }
}
@Override
--
Gitblit v1.9.1