Browse Source

feat: 校验财务验证码

shc 2 years ago
parent
commit
c611d3531f

+ 1 - 1
hnqz-upms/hnqz-upms-biz/src/main/java/com/qunzhixinxi/hnqz/admin/service/impl/MobileServiceImpl.java

@@ -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);
 		}