Forráskód Böngészése

配置修改

Signed-off-by: anderx <312518615@qq.com>
anderx 5 éve%!(EXTRA string=óta)
szülő
commit
69f020b110

+ 8 - 0
src/main/java/com/kede/common/controller/WebpageController.java

@@ -323,6 +323,14 @@ public class WebpageController extends BaseController {
 		modelview.setView(rv);
 		return modelview;
 	}
+	@RequestMapping(value = "", method = RequestMethod.GET)
+	public ModelAndView shome(HttpServletRequest request, ModelAndView modelview) {
+		RedirectView rv = new RedirectView();
+		modelview.setViewName("/portal/index");
+		rv.setExposeModelAttributes(false);
+		modelview.setView(rv);
+		return modelview;
+	}
 	@SuppressWarnings("unchecked")
 	@RequestMapping(value = "/portal/index", method = RequestMethod.GET)
 	public ModelAndView protalIndex(HttpServletRequest request, ModelAndView modelview) {