From 18aab7d6156b93d65c1b18809d924cbb214d737a Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 26 Feb 2021 16:04:03 +0800
Subject: [PATCH] Merge branch 'whole_new' of http://120.27.238.55:7000/r/exchange into whole_new
---
src/main/java/com/xcong/excoin/common/system/service/impl/CommonServiceImpl.java | 7 ++++++-
1 files changed, 6 insertions(+), 1 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 533aab9..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,7 +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