矫正判断
This commit is contained in:
parent
30ec284bf3
commit
356da56035
|
@ -28,9 +28,9 @@ public class CustomErrorViewResolver implements ErrorViewResolver {
|
|||
ModelAndView andView = new ModelAndView();
|
||||
andView.addObject("message", model.get("message"));
|
||||
|
||||
if ("404".equals(status.value())) {
|
||||
if (status.value() == 404) {
|
||||
andView.setViewName(PAGE_404);
|
||||
} else if ("403".equals(status.value())) {
|
||||
} else if (status.value() == 403) {
|
||||
andView.setViewName(PAGE_403);
|
||||
} else if (isServerError) {
|
||||
andView.setViewName(PAGE_500);
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
<ul class="layui-nav layui-layout-left kit-nav">
|
||||
<li class="layui-nav-item"><a href="javascript:s();">会员管理</a></li>
|
||||
<li class="layui-nav-item"><a href="javascript:;" kit-target data-options="{url:'/article/articleList',icon:'',title:'文章管理',id:'966'}">文章管理</a></li>
|
||||
<#--<li class="layui-nav-item"><a href="javascript:;" id="pay"><i class="fa fa-gratipay" aria-hidden="true"></i> 捐赠我</a></li>-->
|
||||
<li class="layui-nav-item">
|
||||
<a href="javascript:;">其它系统</a>
|
||||
<dl class="layui-nav-child">
|
||||
|
|
Loading…
Reference in New Issue