From bf2cd13af90aab79102d1702a6dfb8a9b21fa471 Mon Sep 17 00:00:00 2001 From: wtp <1813748440@qq.com> Date: Mon, 17 Apr 2023 10:19:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=8F=91=E6=B4=BB=E5=8A=A8=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GDZZ.Application/Service/MiniBanner/MiniBannerService.cs | 3 +++ 1 file changed, 3 insertions(+) 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();