|
@@ -270,7 +270,7 @@ public class MobileServiceImpl implements MobileService {
|
|
|
}
|
|
|
log.debug("手机号生成验证码成功:{},{}", mobile, codeStr);
|
|
|
|
|
|
- redisTemplate.opsForValue().set(key, codeStr, SecurityConstants.CODE_TIME, TimeUnit.SECONDS);
|
|
|
+ redisTemplate.opsForValue().set(key, codeStr);
|
|
|
} catch (ClientException | InterruptedException e) {
|
|
|
log.error("手机号生成验证码失败", e);
|
|
|
}
|