admin
2020-09-05 d3ebf5b103d4deebd6ffb75f4471a6fddab8d764
src/main/java/com/yeshi/buwan/controller/parser/ClassParser.java
@@ -130,25 +130,23 @@
        List<SuperVideoType> list = new ArrayList<>();
        list.addAll(list1);
        if ("huawei".equalsIgnoreCase(acceptData.getChannel())) {
            for (int i = 0; i < list.size(); i++) {
                if (list.get(i).getType().getName().contains("资讯")) {
                    list.remove(i);
                    break;
                }
        for (int i = 0; i < list.size(); i++) {
            if (list.get(i).getType().getName().contains("资讯")) {
                list.remove(i);
                break;
            }
        }
        if (acceptData.getPlatform().equalsIgnoreCase("android")) {
            for (SuperVideoType type : list) {
                if (type.getType().getName().contains("资讯")) {
                    type.getType().setName("主播");
                    type.getType().setId(1111);
                    type.getType().setIcon("http://img.zcool.cn/community/017fdb57610d8a0000012e7e74b496.png");
                    break;
                }
            }
        }
//        if (acceptData.getPlatform().equalsIgnoreCase("android")) {
//            for (SuperVideoType type : list) {
//                if (type.getType().getName().contains("资讯")) {
//                    type.getType().setName("主播");
//                    type.getType().setId(1111);
//                    type.getType().setIcon("http://img.zcool.cn/community/017fdb57610d8a0000012e7e74b496.png");
//                    break;
//                }
//            }
//        }
        if ("android".equalsIgnoreCase(acceptData.getPlatform()) && acceptData.getVersion() > 53) {
            SuperVideoType sty = new SuperVideoType();