Merge branch 'dev' of https://gitee.ltd/pig/pigx into leng_dev
# Conflicts: # pigx-upms/pigx-upms-biz/src/main/java/com/pig4cloud/pigx/admin/service/impl/MobileServiceImpl.java
This commit is contained in:
commit
31d0d13818
1 file changed
+1
-1
+1
-1
@@ -67,7 +67,7 @@ public class MobileServiceImpl implements MobileService {
|
||||
return R.ok(Boolean.FALSE, "手机号未注册");
|
||||
}
|
||||
|
||||
Object codeObj = redisTemplate.opsForValue().get(CommonConstants.DEFAULT_CODE_KEY + mobile);
|
||||
Object codeObj = redisTemplate.opsForValue().get(CommonConstants.DEFAULT_CODE_KEY + LoginTypeEnum.SMS.getType() + "@" + mobile);
|
||||
|
||||
if (codeObj != null) {
|
||||
log.info("手机号验证码未过期:{},{}", mobile, codeObj);
|
||||
|
||||
Reference in new issue
Block a user