Sfoglia il codice sorgente

首页轮播图跳转BUG修复

anderx 7 anni fa
parent
commit
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;
 	}
 

File diff suppressed because it is too large
+ 1 - 1
src/main/webapp/WEB-INF/views/portal/index.html