31 lines
750 B
C#
31 lines
750 B
C#
using LiveForum.Code.Base;
|
|
using LiveForum.Model.Dto.Others;
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace LiveForum.IService.Others
|
|
{
|
|
/// <summary>
|
|
/// 轮播图服务接口
|
|
/// </summary>
|
|
public interface IBannersService
|
|
{
|
|
/// <summary>
|
|
/// 获取轮播图列表
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
Task<BaseResponseList<BannerDto>> GetBanners();
|
|
|
|
/// <summary>
|
|
/// 点击轮播图
|
|
/// </summary>
|
|
/// <param name="request">请求参数</param>
|
|
/// <returns></returns>
|
|
Task<BaseResponse<BannerClickRespDto>> ClickBanner(BannerClickReq request);
|
|
}
|
|
}
|