diff --git a/GDZZ.Application/Service/MiniBanner/MiniBannerService.cs b/GDZZ.Application/Service/MiniBanner/MiniBannerService.cs index 592819a..223cbb6 100644 --- a/GDZZ.Application/Service/MiniBanner/MiniBannerService.cs +++ b/GDZZ.Application/Service/MiniBanner/MiniBannerService.cs @@ -7,6 +7,8 @@ using SqlSugar; using System.Linq; using System.Threading.Tasks; using GDZZ.Application.Entity; +using Microsoft.AspNetCore.Authorization; + namespace GDZZ.Application { /// @@ -89,6 +91,7 @@ namespace GDZZ.Application /// /// [HttpGet("/Mini/GetBannerList")] + [AllowAnonymous] public async Task List([FromQuery] MiniBannerInput input) { return await _rep.Where(u => u.Type == input.Type).ToListAsync();