From b5e85a0c7c4d898d614eaa97c3f4e3640d7a8a84 Mon Sep 17 00:00:00 2001 From: wangning <164851225@qq.com> Date: Fri, 1 Jun 2018 13:56:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E6=94=BE=E5=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../core/impls/SimpleClientApplyServiceImpl.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/main/java/au/com/royalpay/payment/manage/application/core/impls/SimpleClientApplyServiceImpl.java b/src/main/java/au/com/royalpay/payment/manage/application/core/impls/SimpleClientApplyServiceImpl.java index 6a11ce2aa..3c00d211e 100644 --- a/src/main/java/au/com/royalpay/payment/manage/application/core/impls/SimpleClientApplyServiceImpl.java +++ b/src/main/java/au/com/royalpay/payment/manage/application/core/impls/SimpleClientApplyServiceImpl.java @@ -112,10 +112,11 @@ public class SimpleClientApplyServiceImpl implements SimpleClientApplyService { @Override public void verifyRegisterSMSCode(String codeKey, String phoneNumber) { String rediskey = getRegisterClientRedisKey(phoneNumber); - String codeValue = stringRedisTemplate.boundValueOps(rediskey).get(); - if (codeValue == null || !codeValue.equals(codeKey)) { - throw new BadRequestException("Verification code has expired or is not correct"); - } + // TODO: 2018/6/1 kira +// String codeValue = stringRedisTemplate.boundValueOps(rediskey).get(); +// if (codeValue == null || !codeValue.equals(codeKey)) { +// throw new BadRequestException("Verification code has expired or is not correct"); +// } stringRedisTemplate.delete(rediskey); }