提交 88c5a9d1 编写于 作者: wangxinxu's avatar wangxinxu

获取登录验证码

上级 c1282d4f
流水线 #54582 已取消 于阶段
......@@ -125,9 +125,9 @@ public class AccountController extends AccountBaseController {
if (Integer.parseInt(flag) != 7) {
//判断账号是否已经存在
Account account = accountService.getByMobilePhone(mobilePhone);
if (StringUtil.isNull(account)) {
throw new PicaException(PicaResultCode.RESULE_DATA_NONE.code(),"本APP采用实名注册制\n如需注册请联系客服" + redisClient.get( "mobile_400_1"));
}
// if (StringUtil.isNull(account)) {
// throw new PicaException(PicaResultCode.RESULE_DATA_NONE.code(),"本APP采用实名注册制\n如需注册请联系客服" + redisClient.get( "mobile_400_1"));
// }
senderId = account == null ? 0L : account.getId();
}
//验证码保存到redis,失效时间10分钟
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册