From b5e19564dcbf1b7ec12946209d74313479f9dfe1 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期五, 24 十二月 2021 19:51:31 +0800 Subject: [PATCH] 布丸vivo上架兼容 --- src/main/java/com/yeshi/buwan/util/JuHe/VideoResourceUtil.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/yeshi/buwan/util/JuHe/VideoResourceUtil.java b/src/main/java/com/yeshi/buwan/util/JuHe/VideoResourceUtil.java index 05f11d1..dc3f2a2 100644 --- a/src/main/java/com/yeshi/buwan/util/JuHe/VideoResourceUtil.java +++ b/src/main/java/com/yeshi/buwan/util/JuHe/VideoResourceUtil.java @@ -20,7 +20,7 @@ @Cacheable(value = "homeCache", key = "'getAvailableResourceIds-'+'-'+#detailSystem.id+'-'+#versionCode+'-'+#channel") public List<Long> getAvailableResourceIds(DetailSystem detailSystem, int versionCode,String channel) { - List<String> ridList = videoResourceVersionMapService.listResourceId(detailSystem.getId(), versionCode,channel); + List<String> ridList = videoResourceVersionMapService.listResourceId(detailSystem.getId(), versionCode,channel.toLowerCase()); // if (detailSystem.getId().equalsIgnoreCase("43") && versionCode > 83) { // ridList = new ArrayList<>(); //// ridList.add("19"); @@ -40,7 +40,7 @@ @Cacheable(value = "homeCache", key = "'getAvailablePlayResourceIds-'+'-'+#detailSystem.id+'-'+#versionCode+'-'+#channel") public List<Long> getAvailablePlayResourceIds(DetailSystem detailSystem, int versionCode,String channel) { - List<String> ridList = videoResourcePlayVersionMapService.listResourceId(detailSystem.getId(), versionCode,channel); + List<String> ridList = videoResourcePlayVersionMapService.listResourceId(detailSystem.getId(), versionCode,channel.toLowerCase()); List<Long> ids = new ArrayList<>(); if (ridList != null) { for (String id : ridList) { -- Gitblit v1.8.0