screen-manage/src/main/java/com/moral/api/pojo/form/account/AccountUpdateForm.java
@@ -52,6 +52,14 @@ public AccountDTO paramValid() { AccountDTO dto = new AccountDTO(); //判断用户名是否有效 if(!ObjectUtils.isEmpty(userName)){ if(!RegexUtils.checkChinese(userName)||userName.contains(" ")){ dto.setCode(ResponseCodeEnum.USERNAME_INVALID.getCode()); dto.setMsg(ResponseCodeEnum.USERNAME_INVALID.getMsg()); return dto; } } //判断手机号是否符合条件 if (!ObjectUtils.isEmpty(mobile)) { if (!RegexUtils.checkMobile(mobile)) { @@ -92,4 +100,6 @@ manageAccount.setWechat(wechat); return manageAccount; } }