| | |
| | | package com.yeshi.fanli.service.inter.config;
|
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import com.yeshi.fanli.entity.admin.HotSearchAdmin;
|
| | | import com.yeshi.fanli.entity.bus.search.HotSearch;
|
| | |
|
| | | public interface HotSearchService {
|
| | |
|
| | | List<HotSearchAdmin> getHotSearchs(int index, String platform, String packages,
|
| | | String key);
|
| | |
|
| | | HotSearch getHotSearch(long id);
|
| | |
|
| | | void addHotSearch(HotSearch hotSearch);
|
| | |
|
| | | Integer deleteHotSearch(long[] hsids);
|
| | |
|
| | | void updateHotSearch(HotSearch hotSearch);
|
| | |
|
| | | int getCount(String platform, String packages, String key);
|
| | |
|
| | | }
|
| | | 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); |
| | | |
| | | } |