admin
2021-01-25 2ba431be9c12a79783e0f9ef249292b7fa95f2a1
fanli/src/main/java/com/yeshi/fanli/service/inter/config/HotSearchService.java
@@ -2,6 +2,7 @@
import java.util.List;
import com.yeshi.fanli.entity.SystemEnum;
import com.yeshi.fanli.entity.bus.search.HotSearch;
public interface HotSearchService {
@@ -13,8 +14,16 @@
   void updateHotSearch(HotSearch hotSearch);
   public List<HotSearch> listQuery(int start, int count, String key, Long systemId, Integer useType) throws Exception;
   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);
   int countList(String key, Long systemId, Integer useType, SystemEnum system);
   /**
    * 查询各个平台热搜
    * @param useType
    * @return
    */
   public List<HotSearch> getHotSearchCache(Integer useType, SystemEnum system);
}