fix(system): 修正租户过期时间变量引用为REGISTER_EXPIRE_TIME
This commit is contained in:
@@ -350,7 +350,7 @@ public class TenantServiceImpl implements TenantService {
|
|||||||
LocalDateTime offset = LocalDateTimeUtil.offset(localDateTime, tenantAgencyPackageDO.getDays(), ChronoUnit.DAYS);
|
LocalDateTime offset = LocalDateTimeUtil.offset(localDateTime, tenantAgencyPackageDO.getDays(), ChronoUnit.DAYS);
|
||||||
|
|
||||||
// 设置租户的基本过期时间
|
// 设置租户的基本过期时间
|
||||||
tenant.setExpireTime(offset);
|
tenant.setExpireTime(REGISTER_EXPIRE_TIME);
|
||||||
// 设置租户的初始用户名(创建者)
|
// 设置租户的初始用户名(创建者)
|
||||||
tenant.setInitialUser(createReqVO.getUsername());
|
tenant.setInitialUser(createReqVO.getUsername());
|
||||||
// 根据套餐配置设置特定功能的过期时间
|
// 根据套餐配置设置特定功能的过期时间
|
||||||
|
|||||||
Reference in New Issue
Block a user