From b9ec1fcdb9b3b74ef5fc37af319f9a02d6e4d153 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com> Date: Fri, 7 Aug 2026 03:17:28 +0800 Subject: [PATCH] =?UTF-8?q?fix(system):=20=E4=BF=AE=E6=AD=A3=E7=AB=99?= =?UTF-8?q?=E7=82=B9=E5=9F=9F=E5=90=8D=E9=85=8D=E7=BD=AE=E5=8F=8A=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E5=BA=94=E7=94=A8=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修改 site 应用对应的域名后缀为 sitelnk.cn - 调整默认应用代码由 mp 改为 site - 更新域名映射中 site 项的配置为新的域名地址 - 保障邮件通知链接生成正确的站点域名 --- .../common/system/service/impl/TenantServiceImpl.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 8b12d29..7193d4b 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 @@ -619,16 +619,16 @@ import java.util.stream.Collectors; } } - // 发送邮件通知(按应用代号区分域名:前端注册时传入 appCode,未知默认 mp) + // 发送邮件通知(按应用代号区分域名:前端注册时传入 appCode,未知默认 site) // mp -> https://mp-{tid}.shoplnk.cn 后台 https://mp.websoft.top // shop -> https://shop-{tid}.shoplnk.cn 后台 https://shop.websoft.top - // site -> https://site-{tid}.websoft.top 后台 https://site.websoft.top + // site -> https://site-{tid}.sitelnk.cn 后台 https://site.websoft.top final Map appDomainMap = new HashMap<>(3); appDomainMap.put("mp", new String[]{"mp", "shoplnk.cn", "mp.websoft.top"}); appDomainMap.put("shop", new String[]{"shop", "shoplnk.cn", "shop.websoft.top"}); - appDomainMap.put("site", new String[]{"site", "websoft.top", "site.websoft.top"}); - final String appCode = StrUtil.isBlank(company.getAppCode()) ? "mp" : company.getAppCode(); - final String[] domainCfg = appDomainMap.getOrDefault(appCode, appDomainMap.get("mp")); + appDomainMap.put("site", new String[]{"site", "sitelnk.cn", "site.websoft.top"}); + final String appCode = StrUtil.isBlank(company.getAppCode()) ? "site" : company.getAppCode(); + final String[] domainCfg = appDomainMap.getOrDefault(appCode, appDomainMap.get("site")); final String sitePrefix = domainCfg[0]; final String siteDomain = domainCfg[1]; final String adminHost = domainCfg[2];