开发活动接口

development
温天培 2 years ago
parent 573465acdf
commit bf2cd13af9

@ -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();

Loading…
Cancel
Save