提交 f1de927d 编写于 作者: Chongwen.jiang's avatar Chongwen.jiang

验证码错误提示文案统一修改

上级 72fdb83a
流水线 #22588 已失败 于阶段
in 0 second
...@@ -67,7 +67,7 @@ public class AccountUtils { ...@@ -67,7 +67,7 @@ public class AccountUtils {
logger.info("验证码缓存信息----->:" + this.getAuthCodeKey(mobile, flag)); logger.info("验证码缓存信息----->:" + this.getAuthCodeKey(mobile, flag));
String cacheCode = cacheClient.get(authCodeKey); //从redis获取验证码 String cacheCode = cacheClient.get(authCodeKey); //从redis获取验证码
if (!org.apache.commons.lang.StringUtils.equals(sysCode, cacheCode)) { if (!org.apache.commons.lang.StringUtils.equals(sysCode, cacheCode)) {
throw new PicaException(PicaResultCode.PARAM_IS_INVALID.code(), "短信验证码错误"); throw new PicaException(PicaResultCode.PARAM_IS_INVALID.code(), "验证码错误,请重新输入");
} }
cacheClient.del(authCodeKey); cacheClient.del(authCodeKey);
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册