From 445906fd14184a1d5b7407ad526016f291e38605 Mon Sep 17 00:00:00 2001 From: ziin Date: Fri, 27 Mar 2026 16:56:00 +0800 Subject: [PATCH] =?UTF-8?q?fix(system):=20=E4=BF=AE=E6=AD=A3=E7=A7=9F?= =?UTF-8?q?=E6=88=B7=E8=BF=87=E6=9C=9F=E6=97=B6=E9=97=B4=E5=8F=98=E9=87=8F?= =?UTF-8?q?=E5=BC=95=E7=94=A8=E4=B8=BAREGISTER=5FEXPIRE=5FTIME?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../yudao/module/system/service/tenant/TenantServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/service/tenant/TenantServiceImpl.java b/yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/service/tenant/TenantServiceImpl.java index e463a1f..a89f624 100755 --- a/yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/service/tenant/TenantServiceImpl.java +++ b/yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/service/tenant/TenantServiceImpl.java @@ -348,9 +348,9 @@ public class TenantServiceImpl implements TenantService { LocalDateTime localDateTime = LocalDateTimeUtil.of(dt); // 转换为LocalDateTime对象 // 根据套餐天数计算过期时间:当前时间 + 套餐天数 LocalDateTime offset = LocalDateTimeUtil.offset(localDateTime, tenantAgencyPackageDO.getDays(), ChronoUnit.DAYS); - + // 设置租户的基本过期时间 - tenant.setExpireTime(offset); + tenant.setExpireTime(REGISTER_EXPIRE_TIME); // 设置租户的初始用户名(创建者) tenant.setInitialUser(createReqVO.getUsername()); // 根据套餐配置设置特定功能的过期时间