Преглед изворни кода

首页轮播图跳转BUG修复

anderx пре 7 година
родитељ
комит
10c4a5c4f0

+ 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