33 lines
848 B
C#
33 lines
848 B
C#
using LiveForum.Code.Base;
|
|
using LiveForum.Model.Dto.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 ISearchService
|
|
{
|
|
/// <summary>
|
|
/// 搜索
|
|
/// </summary>
|
|
/// <param name="request">请求参数</param>
|
|
/// <returns></returns>
|
|
Task<BaseResponse<SearchRespDto>> Search(SearchReq request);
|
|
|
|
/// <summary>
|
|
/// 获取热门搜索关键词
|
|
/// </summary>
|
|
/// <param name="request">请求参数</param>
|
|
/// <returns></returns>
|
|
Task<BaseResponseList<HotKeywordDto>> GetHotKeywords(GetHotKeywordsReq request);
|
|
}
|
|
}
|