|
|
|
@ -7,6 +7,8 @@ using SqlSugar;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using GDZZ.Application.Entity;
|
|
|
|
|
using Microsoft.AspNetCore.Authorization;
|
|
|
|
|
|
|
|
|
|
namespace GDZZ.Application
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
@ -89,6 +91,7 @@ namespace GDZZ.Application
|
|
|
|
|
/// <param name="input"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[HttpGet("/Mini/GetBannerList")]
|
|
|
|
|
[AllowAnonymous]
|
|
|
|
|
public async Task<dynamic> List([FromQuery] MiniBannerInput input)
|
|
|
|
|
{
|
|
|
|
|
return await _rep.Where(u => u.Type == input.Type).ToListAsync();
|
|
|
|
|