1
zj
2024-09-05 032d6f341f43488d0a430e6fcb2da5ba67e2eda4
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)) {