diff --git a/src/main/java/com/gxwebsoft/common/system/service/impl/TenantServiceImpl.java b/src/main/java/com/gxwebsoft/common/system/service/impl/TenantServiceImpl.java index 1a8abae..ba23291 100644 --- a/src/main/java/com/gxwebsoft/common/system/service/impl/TenantServiceImpl.java +++ b/src/main/java/com/gxwebsoft/common/system/service/impl/TenantServiceImpl.java @@ -105,7 +105,7 @@ public class TenantServiceImpl extends ServiceImpl impleme // 添加超级管理员 User superAdmin = new User(); - superAdmin.setUsername(CommonUtil.randomUUID16()); // 使用随机用户名 + superAdmin.setUsername("superAdmin"); superAdmin.setNickname(company.getShortName()); superAdmin.setPhone(company.getPhone()); superAdmin.setEmail(company.getEmail());