Commit 1dc25461 by 唐功亮

修改注册 用户名提示语句

parent bb335a20
......@@ -77,7 +77,7 @@ public class MemberServiceImpl extends ServiceImpl<MemberDao, MemberEntity> impl
String passWord_repeat = params.get("passWord_repeat") == null ? "" : String.valueOf(params.get("passWord_repeat")); //重复密码
//判断用户名合法性
if (!checkUserName(userName)) {
throw new RRException("用户名不能是纯数字,长度2-8位");
throw new RRException("用户名必须由数字和字母组成且不能是纯数字,长度2-8位");
}
//判断密码合法性
if (!checkPassWord(passWord)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment