소스 검색

feat: 校验财务验证码

shc 2 년 전
부모
커밋
c611d3531f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      hnqz-upms/hnqz-upms-biz/src/main/java/com/qunzhixinxi/hnqz/admin/service/impl/MobileServiceImpl.java

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