update AppUserServiceImpl.java
This commit is contained in:
parent
10c0037e18
commit
7534b2e153
@ -195,7 +195,7 @@ public class AppUserServiceImpl extends ServiceImpl<AppUserDao, AppUserEntity> i
|
||||
|
||||
@Override
|
||||
public String sendSmsCode(SendCodeForm param) {
|
||||
String code = RandomUtil.randomNumbers(6);
|
||||
String code = RandomUtil.randomNumbers(Constant.SMS_SIZE);
|
||||
String codeKey = Constant.SMS_PREFIX + param.getMobile();
|
||||
String s = redisUtils.get(codeKey);
|
||||
if (ObjectUtil.isNotNull(s)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user