风浅

风浅

210 飞吻 18天前加入 来自河北 唐山

( )

风浅 最近的提问

风浅 最近的回答

  • 13天前登录成功后,显示主界面时404?中回答:

    控制台没有输出BUG,我把路径直接写死后 就可以登录到首页,但是其他页面全是404.[pre] public String index(final Model model, final HttpServletRequest request, final HttpServletResponse response) { model.addAttribute("menus", (Object)UserUtils.getMenuList()); User user =UserUtils.getUser();//这里能取到用户编号和名称 final int oaNotificationCount = this.oaNotificationService.count(Restrictions.eq("status", (Object)"1")); final List<OaNotification> oaNotifications = this.oaNotificationService.listByCriterion(1, 5, Restrictions.eq("status", (Object)"1")); model.addAttribute("oaNotificationCount", (Object)oaNotificationCount); model.addAttribute("oaNotifications", (Object)oaNotifications); final String theme = this.getTheme(request); return "modules/sys/index/index-inspinia"; //"modules/sys/index/index-" + theme; } [/pre]