1
zj
2024-09-05 70eababa47e64edbc36c32f8ca6058963288591d
src/main/java/project/web/api/LocalUserController.java
@@ -439,13 +439,7 @@
            }
         }
         
         // 邮箱
         if ("2".equals(type)) {
            if(!isValidEmail(username)) {
               throw new BusinessException("not a valid Email!");
            }
         }
         // 用户名
         if ("3".equals(type)) {
            if(!isValidUsername(username)) {
@@ -464,7 +458,7 @@
         reg.setPassword(password);
         reg.setSafeword("000000");
         reg.setReco_usercode(usercode);
         this.localUserService.saveRegisterNoVerifcode(reg, type);
         SecUser  secUser = this.secUserService.findUserByLoginName(username);
         
         project.log.Log log = new project.log.Log();
@@ -693,13 +687,7 @@
               throw new BusinessException("not a valid Phone!");
            }
         }
         // 邮箱
         if ("2".equals(type)) {
            if(!isValidEmail(username)) {
               throw new BusinessException("not a valid Email!");
            }
         }
         
         // 用户名
         if ("3".equals(type)) {