Explorar o código

默认跳转权限系统

shuzheng %!s(int64=9) %!d(string=hai) anos
pai
achega
a34db80dee

+ 1 - 10
zheng-cms/zheng-cms-admin/src/main/webapp/WEB-INF/jsp/index.jsp

@@ -5,13 +5,4 @@
 <%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
 <%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
 <%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
 <%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
 <c:set var="basePath" value="${pageContext.request.contextPath}"/>
 <c:set var="basePath" value="${pageContext.request.contextPath}"/>
-<!DOCTYPE html>
-<html>
-<head>
-    <meta charset="utf-8"/>
-    <title>首页</title>
-</head>
-<body>
-<a href="${basePath}/manage/index">后台首页</a>
-</body>
-</html>
+<c:redirect url="/manage/index"/>

+ 2 - 16
zheng-cms/zheng-cms-admin/src/main/webapp/WEB-INF/jsp/manage/index.jsp

@@ -3,19 +3,5 @@
 <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
 <c:set var="basePath" value="${pageContext.request.contextPath}"/>
 <c:set var="basePath" value="${pageContext.request.contextPath}"/>
-<!DOCTYPE html>
-<html>
-<head>
-    <meta charset="utf-8"/>
-    <title>后台首页</title>
-</head>
-<body>
-<ul>
-    <li><a href="${basePath}/manage/tag/list">标签管理</a></li>
-    <li><a href="${basePath}/manage/category/list">类目管理</a></li>
-    <li><a href="${basePath}/manage/article/list">文章管理</a></li>
-    <li><a href="${basePath}/manage/comment/list">评论管理</a></li>
-</ul>
-<p>以后菜单会移到zheng-upms中,并加以权限控制。以后统一通过zheng-upms登录并访问。<a href='http://upms.zhangshuzheng.cn:1111/sso/logout'>退出登录</a></p>
-</body>
-</html>
+<c:redirect url="http://upms.zhangshuzheng.cn:1111/"/>
+<%--<a href='http://upms.zhangshuzheng.cn:1111/sso/logout'>退出登录</a>--%>