Merge branch 'master' of 335333729/pigx into dev

https://gitee.wang/pig/pigx/issues
This commit is contained in:
pig4cloud.com authored and Gogs committed 2019-06-19 09:44:44 +08:00
commit 9bfedb98c4
1 file changed
+1 -1
@@ -67,7 +67,7 @@ public class MobileServiceImpl implements MobileService {
return R.ok(Boolean.FALSE, "手机号未注册");
}
Object codeObj = pigxRedisTemplate.opsForValue().get(CommonConstants.DEFAULT_CODE_KEY + mobile);
Object codeObj = pigxRedisTemplate.opsForValue().get(CommonConstants.DEFAULT_CODE_KEY + LoginTypeEnum.SMS.getType() + "@" + mobile);
if (codeObj != null) {
log.info("手机号验证码未过期:{},{}", mobile, codeObj);