Преглед на файлове

首页轮播图跳转BUG修复

anderx преди 7 години
родител
ревизия
10c4a5c4f0
променени са 2 файла, в които са добавени 7 реда и са изтрити 7 реда
  1. 6 6
      src/main/java/com/goafanti/common/controller/WebpageController.java
  2. 1 1
      src/main/webapp/WEB-INF/views/portal/index.html

+ 6 - 6
src/main/java/com/goafanti/common/controller/WebpageController.java

@@ -258,19 +258,19 @@ public class WebpageController extends BaseController {
 		return modelview;
 	}
 	
-	@RequestMapping(value = "portal/continueHigh", method = RequestMethod.GET)
+	@RequestMapping(value = "/portal/continueHigh", method = RequestMethod.GET)
 	public ModelAndView portalContinueHigh(HttpServletRequest request, ModelAndView modelview) {
-		modelview.setViewName("portal/continueHigh");
+		modelview.setViewName("/portal/continueHigh");
 		return modelview;
 	}
-	@RequestMapping(value = "portal/militaryProject", method = RequestMethod.GET)
+	@RequestMapping(value = "/portal/militaryProject", method = RequestMethod.GET)
 	public ModelAndView portalMilitaryProject(HttpServletRequest request, ModelAndView modelview) {
-		modelview.setViewName("portal/militaryProject");
+		modelview.setViewName("/portal/militaryProject");
 		return modelview;
 	}
-	@RequestMapping(value = "portal/practicalPatent", method = RequestMethod.GET)
+	@RequestMapping(value = "/portal/practicalPatent", method = RequestMethod.GET)
 	public ModelAndView portalPracticalPatent(HttpServletRequest request, ModelAndView modelview) {
-		modelview.setViewName("portal/practicalPatent");
+		modelview.setViewName("/portal/practicalPatent");
 		return modelview;
 	}
 

Файловите разлики са ограничени, защото са твърде много
+ 1 - 1
src/main/webapp/WEB-INF/views/portal/index.html