| | |
| | | import com.yeshi.buwan.service.imp.*; |
| | | import com.yeshi.buwan.service.inter.juhe.InternetSearchVideoService; |
| | | import com.yeshi.buwan.service.manager.SolrAlbumVideoDataManager; |
| | | import com.yeshi.buwan.service.manager.SolrInternetSearchVideoDataManager; |
| | | import com.yeshi.buwan.util.*; |
| | | import com.yeshi.buwan.util.JuHe.VideoResourceUtil; |
| | | import com.yeshi.buwan.util.annotation.RequireUid; |
| | |
| | | private VideoInfoService videoInfoService; |
| | | @Resource |
| | | private SolrAlbumVideoDataManager solrDataManager; |
| | | @Resource |
| | | private SolrInternetSearchVideoDataManager solrInternetSearchVideoDataManager; |
| | | @Resource |
| | | private ConfigParser configParser; |
| | | |
| | |
| | | } |
| | | } |
| | | } |
| | | if (list == null || list.size() < 3) { |
| | | List<String> list1 = solrInternetSearchVideoDataManager.getSuggestKeyList(key); |
| | | if (list1 != null) { |
| | | list.addAll(list1); |
| | | } |
| | | } |
| | | |
| | | JSONObject object = new JSONObject(); |
| | | object.put("count", list.size() + ""); |
| | | JSONArray array = new JSONArray(); |