You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
589 B
17 lines
589 B
using System;
|
|
using System.Globalization;
|
|
using Volo.Abp.DependencyInjection;
|
|
using Volo.Abp.SettingManagement;
|
|
using Win_in.Sfs.Wms.Inventory.Domain.Shared;
|
|
|
|
namespace Win_in.Sfs.Wms.Inventory.Domain.Acl;
|
|
|
|
public abstract class AclServiceBase
|
|
{
|
|
public IAbpLazyServiceProvider LazyServiceProvider { get; set; }
|
|
|
|
protected ISettingManager SettingManager => LazyServiceProvider.LazyGetRequiredService<ISettingManager>();
|
|
|
|
protected int CacheMinutes => Convert.ToInt32(SettingManager.GetOrNullGlobalAsync(InventorySettings.Cache.Minutes).Result, CultureInfo.InvariantCulture);
|
|
|
|
}
|
|
|