Commit 34c33f50 authored by lee_mingzhu's avatar lee_mingzhu

修改注册时密码长度的提示信息,和前端保持统一

parent 36cacf6b
......@@ -68,6 +68,9 @@ public class SmsServiceImpl implements ISmsService {
}
String key = Constants.REDIS_PREFIX_VERIFICATION_CODE + phoneNo;
String randomCode = stringRedisTemplate.opsForValue().get(key);
if(StringUtils.isEmpty(randomCode)){
return false;
}
String[] arr = randomCode.split(":");
String unqiueId = arr[0];
String code = arr[1];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment