From ff9797c9c09024973416191fb08ef6ce046cf5fc Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Thu, 29 Oct 2020 15:51:18 +0800
Subject: [PATCH] modify
---
src/main/java/com/xcong/excoin/common/system/service/impl/CommonServiceImpl.java | 6 +++---
1 files changed, 3 insertions(+), 3 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 f12fc7e..f812194 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,9 +29,9 @@
@Override
public boolean verifyCode(String account, String code) {
- if (properties.isDebug()) {
- return true;
- }
+// if (properties.isDebug()) {
+// return true;
+// }
String cacheCode = redisUtils.getString(AppContants.VERIFY_CODE_PREFIX + account);
if (StrUtil.isBlank(cacheCode)) {
return false;
--
Gitblit v1.9.1