using System; using Volo.Abp.DependencyInjection; using Volo.Abp.Domain.Services; using Volo.Abp.SettingManagement; using Win_in.Sfs.Wms.Store.Domain.Shared; namespace Win_in.Sfs.Wms.Store.Domain.Acl; public abstract class AclServiceBase : DomainService, ITransientDependency { protected ISettingManager SettingManager => LazyServiceProvider.LazyGetRequiredService(); protected int CacheMinutes => Convert.ToInt32(SettingManager.GetOrNullGlobalAsync(StoreSettings.Cache.Minutes).Result); }