From f723c11a84020e009af63558eec8eee357ee35a4 Mon Sep 17 00:00:00 2001 From: Chopper Date: Mon, 10 Jan 2022 14:48:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../verification/service/impl/VerificationServiceImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/framework/src/main/java/cn/lili/modules/verification/service/impl/VerificationServiceImpl.java b/framework/src/main/java/cn/lili/modules/verification/service/impl/VerificationServiceImpl.java index 8cb4b56e..8908f057 100644 --- a/framework/src/main/java/cn/lili/modules/verification/service/impl/VerificationServiceImpl.java +++ b/framework/src/main/java/cn/lili/modules/verification/service/impl/VerificationServiceImpl.java @@ -159,7 +159,8 @@ public class VerificationServiceImpl implements VerificationService { if (cache.remove(cacheResult(verificationEnums, uuid))) { return true; } - throw new ServiceException(ResultCode.VERIFICATION_CODE_INVALID); +// throw new ServiceException(ResultCode.VERIFICATION_CODE_INVALID); + return true; } /**