Abp模块
abp
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.
 
 
 
 
 

15 lines
454 B

using BookStore.Features;
using Sanhe.Abp.Features.LimitValidation;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;
namespace BookStore.Services;
public class LimitValidationAppService : ApplicationService, ILimitValidationAppService
{
[RequiresLimitFeature(FakeFeatureNames.MethodLimitFeature, FakeFeatureNames.IntervalFeature, LimitPolicy.Minute)]
public Task GetAsync()
{
return Task.FromResult(0);
}
}