45 lines
1.2 KiB
C#
45 lines
1.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using ARW.Model;
|
|
using ARW.Model.Dto.Api.Custom.HistorySearchs;
|
|
using ARW.Model.Models.Business.Custom.HistorySearchs;
|
|
using ARW.Model.Vo.Api.Custom.HistorySearchs;
|
|
|
|
namespace ARW.Service.Api.IBusinessService.Custom.HistorySearchs
|
|
{
|
|
/// <summary>
|
|
/// 历史搜索接口类Api
|
|
///
|
|
/// @author lwh
|
|
/// @date 2023-10-09
|
|
/// </summary>
|
|
public interface IHistorySearchServiceApi : IBaseService<HistorySearch>
|
|
{
|
|
/// <summary>
|
|
/// 获取历史搜索分页列表(Api)
|
|
/// </summary>
|
|
/// <param name="parm"></param>
|
|
/// <returns></returns>
|
|
Task<List<HistorySearchVoApi>> GetHistorySearchListApi(HistorySearchQueryDtoApi parm);
|
|
|
|
|
|
/// <summary>
|
|
/// 获取热门搜索列表(Api)
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
Task<List<SearchTermCount>> GetHotSearchListApi();
|
|
|
|
|
|
/// <summary>
|
|
/// 添加历史搜索
|
|
/// </summary>
|
|
/// <param name="parm"></param>
|
|
/// <returns></returns>
|
|
Task<string> AddHistorySearch(HistorySearch parm);
|
|
|
|
}
|
|
}
|