From 81da61b828e29b7745e1382dfbbaeb685dc083ef Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 23 一月 2024 17:17:55 +0800 Subject: [PATCH] 抖音转链修改 --- fanli/src/main/java/com/yeshi/fanli/service/inter/config/HotSearchService.java | 55 +++++++++++++++++++++++++++++-------------------------- 1 files changed, 29 insertions(+), 26 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/config/HotSearchService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/config/HotSearchService.java index 2ff32f9..072e938 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/config/HotSearchService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/config/HotSearchService.java @@ -1,26 +1,29 @@ -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); - - 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); + +} -- Gitblit v1.8.0