|
|
@@ -237,5 +237,17 @@ public class PortalController extends BaseController {
|
|
|
result.setData(adminVideoService.getVideoList(video, pageNo, pageSize,2));
|
|
|
return result;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
+ //跳转视频详情
|
|
|
+ @RequestMapping(value="/protal/videoDetail", method = RequestMethod.GET)
|
|
|
+ public ModelAndView videoDetail(ModelAndView modelAndView,String id){
|
|
|
+ modelAndView.setViewName("/portal/video/videoDetail");
|
|
|
+ //获得视频信息
|
|
|
+ modelAndView.addObject("videoPlay",adminVideoService.getVideoById(id));
|
|
|
+
|
|
|
+ //获得所有视频列表
|
|
|
+ modelAndView.addObject("videoList",adminVideoService.getAllVideoExcludeId(id));
|
|
|
+
|
|
|
+ return modelAndView;
|
|
|
+ }
|
|
|
}
|