admin
2021-01-23 0a18a8cb0a7a57bf1f82df425251334c57f8c39a
src/main/java/com/yeshi/buwan/controller/parser/HomeParser.java
@@ -90,28 +90,6 @@
            List<HomeAd> list = homeAdService.getHomeAdList(detailSystem);
            // 测试跳转小程序
            // JSONObject xcx = new JSONObject();
            // xcx.put("thumb",
            // "http://img.zcool.cn/community/0169235af03daea801206aba8664d7.jpeg@260w_195h_1c_1e_1o_100sh.jpg");
            // xcx.put("title", "测试标题");
            // xcx.put("desc", "简介");
            // xcx.put("path", "pages/index/index");
            // xcx.put("username", "gh_33b9bea57aff");
            // xcx.put("url", "http://video.yeshitv.com");
            // 测试标题
            // HomeAd homeAd = new HomeAd();
            // homeAd.setClazz("com");
            // homeAd.setLinkType(5);
            // homeAd.setOrderby(0);
            // homeAd.setPicture(
            // "http://img.zcool.cn/community/0169235af03daea801206aba8664d7.jpeg@260w_195h_1c_1e_1o_100sh.jpg");
            // homeAd.setVideo(new VideoInfo(1 + ""));
            // homeAd.setParams(xcx.toString());
            // homeAd.setTitle("标题");
            // list.add(homeAd);
            if (acceptData.getPlatform().equalsIgnoreCase("ios"))// IOS测试
            {
@@ -166,7 +144,6 @@
        } else {
            classParser.getRecommendCategoryVideoBanner(acceptData, request, out);
        }
    }
    // 首页类型获取
@@ -360,9 +337,11 @@
            return;
        }
        DetailSystem detailSystem = systemService.getDetailSystemByPackage(acceptData.getPackageName());
        List<Long> resourceList = videoResouceUtil.getAvailableResourceIds(acceptData.getPlatform(), acceptData.getVersion());
        VideoInfo info = (videoDeailUtil.getVideoInfo(videoId, resourceId, resourceList,
        VideoInfo info = (videoDeailUtil.getVideoInfo(detailSystem.getId(), videoId, resourceId, resourceList,
                CacheUtil.getMD5Long(resourceList)));
        List<VideoType> typeList = classService.getVideoTypeList(info.getId());
@@ -385,7 +364,7 @@
        // version));
        // 过滤版权视频关键字
        DetailSystem detailSystem = systemService.getDetailSystemByPackage(acceptData.getPackageName());
        // 统计添加
        // statisticsService.addStatistics(detailSystem.getId(), videoId);