🐛 昵称特殊字符处理

This commit is contained in:
x ronger 2020-11-18 20:35:26 +08:00
parent f0dd030657
commit fac694cd67

View File

@ -206,7 +206,7 @@ public class UserServiceImpl extends AbstractService<User> implements UserServic
} }
private String formatNickname(String nickname) { private String formatNickname(String nickname) {
return nickname.replaceAll(".", ""); return nickname.replaceAll("\\.", "");
} }
@Override @Override