From 6a48299e12fd63d181f6fedee60f2e8a4e878ea2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com> Date: Mon, 27 Apr 2026 09:25:36 +0800 Subject: [PATCH] =?UTF-8?q?fix(system):=20=E4=BF=AE=E5=A4=8D=E8=B6=85?= =?UTF-8?q?=E7=BA=A7=E7=AE=A1=E7=90=86=E5=91=98=E7=94=A8=E6=88=B7=E5=90=8D?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将超级管理员用户名从随机UUID改为固定的"superAdmin" - 确保超级管理员账户标识一致性 - 便于后续权限管理和系统维护 --- .../gxwebsoft/common/system/service/impl/TenantServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());