package com.yeshi.fanli.service.inter.config;
|
|
import java.util.List;
|
|
import com.yeshi.fanli.entity.bus.search.HotSearch;
|
|
public interface HotSearchService {
|
|
|
void addHotSearch(HotSearch hotSearch);
|
|
void deleteHotSearch(long[] hsids);
|
|
void updateHotSearch(HotSearch hotSearch);
|
|
public List<HotSearch> listQuery(int start, int count, String key, Long systemId, Integer useType) throws Exception;
|
|
int countList(String key, Long systemId, Integer useType);
|
|
|
/**
|
* 查询各个平台热搜
|
* @param useType
|
* @return
|
*/
|
public List<HotSearch> getHotSearchCache(Integer useType);
|
|
}
|