limin лет назад: 7
Родитель
Сommit
6b9a41a4db

+ 2 - 2
src/main/java/com/goafanti/common/controller/PortalController.java

@@ -222,7 +222,7 @@ public class PortalController extends BaseController {
 		
 		return modelAndView;
 	}
-	
+	
 	@RequestMapping(value="/portal/video",method = RequestMethod.GET)
 	public ModelAndView video(ModelAndView modelAndView){
 		modelAndView.setViewName("/portal/video/video");
@@ -239,7 +239,7 @@ public class PortalController extends BaseController {
 	}
 	
 	//跳转视频详情
-	@RequestMapping(value="/protal/videoDetail", method = RequestMethod.GET)
+	@RequestMapping(value="/open/protal/videoDetail", method = RequestMethod.GET)
 	public ModelAndView videoDetail(ModelAndView modelAndView,String id){
 		modelAndView.setViewName("/portal/video/videoDetail");
 		//获得视频信息

+ 1 - 1
src/main/resources/props/config_prod.properties

@@ -68,4 +68,4 @@ avatar.upload.host=//s.jishutao.com/upload
 ffmpeg.path=/usr/bin/ffmpeg
 ffprobe.path=/usr/bin/ffprobe
 
-video.path=test
+video.path=prod

+ 2 - 2
src/main/webapp/WEB-INF/views/portal/video/videoDetail.html

@@ -45,7 +45,7 @@
 					<ul>
 						<!-- 放三个 -->
 						<li class="active">
-							<a th:href="@{/protal/videoDetail(id=${videoPlay.id})}">
+							<a th:href="@{/open/protal/videoDetail(id=${videoPlay.id})}">
 								<img th:src="${avatarUploadHost+videoPlay.coverUrl}" alt="">
 								<div class="txt">
 									<h4 th:text="${videoPlay.name}">申请军工三证72问</h4>
@@ -56,7 +56,7 @@
 							</a>
 						</li>
 						<li th:each="list:${videoList}">
-							<a th:href="@{/protal/videoDetail(id=${list.id})}">
+							<a th:href="@{/open/protal/videoDetail(id=${list.id})}">
 							<img th:src="${avatarUploadHost+list.coverUrl}" alt="">
 							<div class="txt">
 								<h4 th:text="${list.name}">申请军工三证72问</h4>