提交 9dc40f0d 编写于 作者: wangxinxu's avatar wangxinxu

未注册时,信息提示

上级 675603c6
流水线 #53320 已失败 于阶段
......@@ -126,7 +126,7 @@ public class AccountController extends AccountBaseController {
//判断账号是否已经存在
Account account = accountService.getByMobilePhone(mobilePhone);
if (StringUtil.isNull(account)) {
throw new PicaException(PicaResultCode.RESULE_DATA_NONE.code(),"本APP采用实名注册制\n如需注册请联系客服400-021-8282");
throw new PicaException(PicaResultCode.RESULE_DATA_NONE.code(),"本APP采用实名注册制\n如需注册请联系客服" + redisClient.get( "mobile_400_1"));
}
senderId = account == null ? 0L : account.getId();
}
......
......@@ -543,7 +543,7 @@ public class LoginController extends AccountBaseController {
Account account = accountService.getByMobilePhone(req.getMobilePhone()); //获取账号信息
if (account == null) {
intactUtil.sendIntact(batchNo, "login/applet", com.pica.cloud.foundation.completeness.contract.constants.CommonConstants.INTACT_CONTENT_LOG_STATUS_3, "未注册,请验证码登录");
return PicaResponse.toResponse(null, PicaResultCode.RESULE_DATA_NONE.code(), "未注册,请验证码登录");
return PicaResponse.toResponse(null, PicaResultCode.RESULE_DATA_NONE.code(), "本APP采用实名注册制\n如需注册请联系客服" + redisClient.get( "mobile_400_1"));
}
//更新最后登录时间
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册