补充无权访问页面

This commit is contained in:
fjy8018@qq.com
2018-07-06 15:47:37 +08:00
parent 0be0ccf113
commit 837c7f58d5
2 changed files with 20 additions and 0 deletions

View File

@@ -24,4 +24,8 @@ public class NavController {
return "admin success";
}
@RequestMapping("/unauthorized")
public String unauthorized() {
return "unauthorized";
}
}

View File

@@ -0,0 +1,16 @@
<%--
Created by IntelliJ IDEA.
User: F嘉阳
Date: 2018/7/6
Time: 15:46
To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
<title>无权访问</title>
</head>
<body>
<h1>无权访问</h1>
</body>
</html>