From f06a592dd1a7e995bf313ccb5efe7dff73ccfc4e Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 12 四月 2023 18:25:52 +0800 Subject: [PATCH] 增加本地获取IP归属地/广告优化 --- src/main/java/com/yeshi/buwan/service/imp/juhe/FunTV2ServiceImpl.java | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/yeshi/buwan/service/imp/juhe/FunTV2ServiceImpl.java b/src/main/java/com/yeshi/buwan/service/imp/juhe/FunTV2ServiceImpl.java index 717c7ee..21cd08b 100644 --- a/src/main/java/com/yeshi/buwan/service/imp/juhe/FunTV2ServiceImpl.java +++ b/src/main/java/com/yeshi/buwan/service/imp/juhe/FunTV2ServiceImpl.java @@ -105,14 +105,14 @@ videoInfo.setVpicture(newVideoInfo.getVpicture()); videoInfo.setShow(newVideoInfo.getShow()); videoInfo.setVideoType(newVideoInfo.getVideoType()); - videoInfoDao.update(videoInfo); + videoInfoService.update(videoInfo); } } else {//瑙嗛涓嶅瓨鍦� //鍒ゆ柇2涓棰戝疄浣撴槸鍚︿负鍚屼竴瑙嗛 VideoInfo oldVideo = videoInfoService.getExistSameVideoWithTime(newVideoInfo); if (oldVideo == null) { //娣诲姞瑙嗛 - Serializable id = videoInfoDao.save(newVideoInfo); + Serializable id = videoInfoService.save(newVideoInfo); newVideoInfo.setId(id + ""); } else {//涓哄悓涓�瑙嗛 //鏇存柊tag @@ -124,7 +124,7 @@ oldVideo.setVpicture(newVideoInfo.getVpicture()); oldVideo.setShow(newVideoInfo.getShow()); oldVideo.setVideoType(newVideoInfo.getVideoType()); - videoInfoDao.update(oldVideo); + videoInfoService.update(oldVideo); } //鍔犲叆涓撹緫瑙嗛鏄犲皠 @@ -225,7 +225,7 @@ DetailSystemConfig config = detailSystemConfigService.getConfigByKey("funshion_sdk_player", acceptData.getDetailSystem(), acceptData.getVersion()); //榛樿SDK鎾斁 if (config == null) - return FunTVUtil2.PLAY_SDK; + return FunTVUtil2.PLAY_HTML; String channel = acceptData.getChannel(); if (StringUtil.isNullOrEmpty(channel)) { @@ -273,7 +273,7 @@ int t = getPlayType(acceptData, video2); PlayUrl pu = new PlayUrl(); pu.setParams(""); - pu.setPlayType(t); + pu.setPlayType(1); pu.setResource(vr); pu.setAid(video2.getMediaId()); pu.setVid(video2.getId()); -- Gitblit v1.8.0