cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/system/UserMgrController.java
@@ -205,7 +205,11 @@ // 判断账号是否重复 //Check if the account is duplicated User theUser = userService.getByAccount(user.getAccount()); User theUser = new User(); if (user.getAccount()!=""){ theUser = userService.getByAccount(user.getAccount()); } System.out.println("=====theUser======="+theUser); if (theUser != null&&user.getAccount()!="") { throw new GunsException(BizExceptionEnum.USER_ALREADY_REG);