admin
2021-09-24 f788607ff771a47bc60d6a86e00b3433c40f3d2c
src/main/java/com/yeshi/buwan/controller/parser/web/WebVideosParser.java
@@ -7,6 +7,7 @@
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import com.yeshi.buwan.exception.video.VideoPlayException;
import org.springframework.stereotype.Controller;
import com.yeshi.buwan.domain.CategoryContry;
@@ -127,7 +128,7 @@
        JSONObject object = new JSONObject();
        DetailSystem detailSystem = systemService.getDetailSystemByPackage(packageName);
        List<Long> resourceList = videoResouceUtil.getAvailableResourceIds(detailSystem, 1);
        List<Long> resourceList = videoResouceUtil.getAvailableResourceIds(detailSystem, 1,null);
        // 获取视频列表
        List<VideoInfo> list1;
        if (type.equalsIgnoreCase("area")) {
@@ -197,7 +198,7 @@
            return;
        }
        List<Long> resourceList = videoResouceUtil.getAvailableResourceIds(new DetailSystem("44"), 1);
        List<Long> resourceList = videoResouceUtil.getAvailableResourceIds(new DetailSystem("44"), 1,null);
        VideoInfo info = (videoDeailUtil.getVideoInfo(null, videoId, resourceId, resourceList,
                CacheUtil.getMD5Long(resourceList)));
@@ -284,7 +285,7 @@
            return;
        }
        List<Long> resourceList = videoResouceUtil.getAvailableResourceIds(new DetailSystem("44"), 1);
        List<Long> resourceList = videoResouceUtil.getAvailableResourceIds(new DetailSystem("44"), 1,null);
        DetailSystem ds = systemService.getDetailSystemByPackage(packageName);
        // 猜你喜欢
@@ -378,7 +379,12 @@
        DetailSystem detailSystem = systemService.getDetailSystemByPackage(packageName);
        PlayUrl pu = videoDeailUtil.getPlayUrl(null, detailSystem.getId(), id, type, Integer.parseInt(resourceId), videoId);
        PlayUrl pu = null;
        try {
            pu = videoDeailUtil.getPlayUrl(null, detailSystem.getId(), id, type, Integer.parseInt(resourceId), videoId);
        } catch (VideoPlayException e) {
            e.printStackTrace();
        }
        if (pu != null) {
            if (!StringUtil.isNullOrEmpty(pu.getUrl()))