| | |
| | | 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) throws Exception;
|
| | |
|
| | | int countList(String key, Long systemId);
|
| | |
|
| | | }
|
| | | package com.yeshi.fanli.service.inter.config; |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.yeshi.fanli.entity.SystemEnum; |
| | | 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, SystemEnum system) throws Exception; |
| | | |
| | | int countList(String key, Long systemId, Integer useType, SystemEnum system); |
| | | |
| | | |
| | | /** |
| | | * 查询各个平台热搜 |
| | | * @param useType |
| | | * @return |
| | | */ |
| | | public List<HotSearch> getHotSearchCache(Integer useType, SystemEnum system); |
| | | |
| | | } |