| | |
| | | import com.yeshi.buwan.funtv.FunTVUtil2; |
| | | import com.yeshi.buwan.iqiyi.util.IqiyiUtil; |
| | | import com.yeshi.buwan.iqiyi.util.IqiyiUtil2; |
| | | import com.yeshi.buwan.mogotv.MogoTVUtil; |
| | | import com.yeshi.buwan.service.imp.VideoInfoService; |
| | | import com.yeshi.buwan.service.imp.juhe.FunTVService; |
| | | import com.yeshi.buwan.service.imp.juhe.IqiyiService; |
| | | import com.yeshi.buwan.service.imp.juhe.SoHuService; |
| | | import com.yeshi.buwan.service.inter.juhe.FunTV2Service; |
| | | import com.yeshi.buwan.service.inter.juhe.Iqiyi2Service; |
| | | import com.yeshi.buwan.service.inter.juhe.YouKuService; |
| | | import com.yeshi.buwan.service.inter.juhe.*; |
| | | import com.yeshi.buwan.sohu.SoHuUtil; |
| | | import com.yeshi.buwan.tencent.TencentVideoUtil; |
| | | import com.yeshi.buwan.util.StringUtil; |
| | | import com.yeshi.buwan.util.log.VideoLogFactory; |
| | | import com.yeshi.buwan.videos.bilibili.BilibiliUtil; |
| | | import com.yeshi.buwan.vo.AcceptData; |
| | | import com.yeshi.buwan.youku.YouKuUtil; |
| | | import org.hibernate.HibernateException; |
| | |
| | | |
| | | @Resource |
| | | private YouKuService youKuService; |
| | | |
| | | @Resource |
| | | private MogoTVUtil mogoTVUtil; |
| | | |
| | | @Resource |
| | | private MogoTVService mogoTVService; |
| | | |
| | | @Resource |
| | | private TencentVideoService tencentVideoService; |
| | | |
| | | @Resource |
| | | private TencentVideoUtil tencentVideoUtil; |
| | | |
| | | @Resource |
| | | private BilibiliVideoService bilibiliVideoService; |
| | | |
| | | @Resource |
| | | private BilibiliUtil bilibiliUtil; |
| | | |
| | | @SuppressWarnings("unchecked") |
| | | // @Cacheable(value = "homeCache", key = "'getVideoInfo'+'-'+#videoid+'-'+#resourceId+'-'+#cacheMD5") |
| | |
| | | return soHuService.getVideoDetailList(videoid, page, pageSize); |
| | | case YouKuUtil.RESOURCE_ID: |
| | | return youKuService.getVideoDetailList(videoid, page, pageSize); |
| | | case MogoTVUtil.RESOURCE_ID: |
| | | return mogoTVService.getVideoDetailList(videoid, page, pageSize); |
| | | case TencentVideoUtil.RESOURCE_ID: |
| | | return tencentVideoService.getVideoDetailList(videoid, page, pageSize); |
| | | case BilibiliUtil.RESOURCE_ID: |
| | | return bilibiliVideoService.getVideoDetailList(videoid, page, pageSize); |
| | | default: |
| | | return null; |
| | | } |
| | |
| | | case SoHuUtil.RESOURCE_ID: |
| | | return soHuService.getLatestVideoDetail(videoid); |
| | | case YouKuUtil.RESOURCE_ID: |
| | | return soHuService.getLatestVideoDetail(videoid); |
| | | case MogoTVUtil.RESOURCE_ID: |
| | | return soHuService.getLatestVideoDetail(videoid); |
| | | default: |
| | | return null; |
| | |
| | | return videoInfoService.getPlayUrl(detailSystemId, id, type, resourceid, videoid); |
| | | case YouKuUtil.RESOURCE_ID: |
| | | return youKuUtil.getPlayUrl(detailSystemId, id, type, resourceid, videoid); |
| | | case MogoTVUtil.RESOURCE_ID: |
| | | return mogoTVUtil.getPlayUrl(detailSystemId, id, type, resourceid, videoid); |
| | | case TencentVideoUtil.RESOURCE_ID: |
| | | return tencentVideoUtil.getPlayUrl(detailSystemId, id, type, resourceid, videoid); |
| | | case BilibiliUtil.RESOURCE_ID: |
| | | return bilibiliUtil.getPlayUrl(detailSystemId, id, type, resourceid, videoid); |
| | | default: |
| | | return null; |
| | | } |