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
536 B
17 lines
536 B
using System;
|
|
using Volo.Abp.DependencyInjection;
|
|
using Volo.Abp.Domain.Services;
|
|
using Volo.Abp.SettingManagement;
|
|
using Win_in.Sfs.Wms.Job.Domain.Shared;
|
|
|
|
namespace Win_in.Sfs.Wms.Job.Domain.Acl
|
|
{
|
|
public abstract class AclServiceBase : DomainService, ITransientDependency
|
|
{
|
|
|
|
protected ISettingManager SettingManager => LazyServiceProvider.LazyGetRequiredService<ISettingManager>();
|
|
|
|
protected int CacheMinutes => Convert.ToInt32(SettingManager.GetOrNullGlobalAsync(JobSettings.Cache.Minutes).Result);
|
|
|
|
}
|
|
}
|
|
|