forked from github/dataease
perf(系统管理): 新增用户时自动过滤账号开头结尾空字符串
This commit is contained in:
parent
fe86549e32
commit
6b0ce1eaec
@ -73,6 +73,7 @@ public class SysUserService {
|
||||
|
||||
@Transactional
|
||||
public int save(SysUserCreateRequest request) {
|
||||
request.setUsername(request.getUsername().trim());
|
||||
checkUsername(request);
|
||||
checkEmail(request);
|
||||
checkNickName(request);
|
||||
|
Loading…
Reference in New Issue
Block a user