src/main/java/com/yeshi/buwan/controller/parser/web/WebVideosParser.java
@@ -9,9 +9,8 @@
import org.springframework.stereotype.Controller;
import com.rabbitmq.tools.json.JSONUtil;
import com.yeshi.buwan.domain.CategoryContry;
import com.yeshi.buwan.domain.DetailSystem;
import com.yeshi.buwan.domain.system.DetailSystem;
import com.yeshi.buwan.domain.VideoDetailInfo;
import com.yeshi.buwan.domain.VideoInfo;
import com.yeshi.buwan.domain.VideoType;
@@ -127,8 +126,8 @@
        JSONObject object = new JSONObject();
        List<Long> resourceList = videoResouceUtil.getAvailableResourceIds(platform, 0);
        DetailSystem detailSystem = systemService.getDetailSystemByPackage(packageName);
        List<Long> resourceList = videoResouceUtil.getAvailableResourceIds(detailSystem, 1);
        // 获取视频列表
        List<VideoInfo> list1;
        if (type.equalsIgnoreCase("area")) {
@@ -146,7 +145,7 @@
                    CacheUtil.getMD5Long(resourceList));
        }
        List<VideoInfo> list = new ArrayList<VideoInfo>();
        List<VideoInfo> list = new ArrayList<>();
        list.addAll(list1);
        JSONArray array = new JSONArray();
        for (VideoInfo info : list)
@@ -198,9 +197,9 @@
            return;
        }
        List<Long> resourceList = videoResouceUtil.getAvailableResourceIds(platform, 0);
        List<Long> resourceList = videoResouceUtil.getAvailableResourceIds(new DetailSystem("44"), 1);
        VideoInfo info = (videoDeailUtil.getVideoInfo(videoId, resourceId, resourceList,
        VideoInfo info = (videoDeailUtil.getVideoInfo(null, videoId, resourceId, resourceList,
                CacheUtil.getMD5Long(resourceList)));
        if (info == null)
            return;
@@ -285,7 +284,7 @@
            return;
        }
        List<Long> resourceList = videoResouceUtil.getAvailableResourceIds(platform, 0);
        List<Long> resourceList = videoResouceUtil.getAvailableResourceIds(new DetailSystem("44"), 1);
        DetailSystem ds = systemService.getDetailSystemByPackage(packageName);
        // 猜你喜欢
@@ -293,19 +292,19 @@
                ? recommendService.guessLikeList(ds.getId(), 10, resourceList, CacheUtil.getMD5Long(resourceList))
                : recommendService.guessLikeList(ds.getId(), 10, videoId, resourceList,
                CacheUtil.getMD5Long(resourceList));
        List<VideoInfo> list = new ArrayList<VideoInfo>();
        List<VideoInfo> list = new ArrayList<>();
        list.addAll(list1);
        // 相关视频
        List<VideoInfo> list2 = recommendService.getRelativeVideoList(ds.getId(), 10, videoId, resourceList,
                CacheUtil.getMD5Long(resourceList));
        List<VideoInfo> xlist = new ArrayList<VideoInfo>();
        List<VideoInfo> xlist = new ArrayList<>();
        xlist.addAll(list2);
        // 大家都在看
        List<VideoInfo> list3 = recommendService.peopleSee(ds.getId(), 10, videoId, resourceList,
                CacheUtil.getMD5Long(resourceList));
        List<VideoInfo> plist = new ArrayList<VideoInfo>();
        List<VideoInfo> plist = new ArrayList<>();
        plist.addAll(list3);
        JSONArray garray = new JSONArray();
        JSONArray xarray = new JSONArray();