删除子模块登录页

This commit is contained in:
shuzheng 2017-02-03 14:59:59 +08:00
parent 1d9706608c
commit 9b372644bf
2 changed files with 0 additions and 41 deletions

View File

@ -29,14 +29,4 @@ public class ManageController extends BaseController {
return "/manage/index";
}
/**
* 后台登录页
* @return
*/
@ApiOperation(value = "后台登录页")
@RequestMapping(value = "/login", method = RequestMethod.GET)
public String login() {
return "/manage/login";
}
}

View File

@ -1,31 +0,0 @@
<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>后台登录</title>
</head>
<body>
<form method="post">
<c:if test="${param.error != null}">
<p>Invalid username and password.</p>
</c:if>
<c:if test="${param.logout != null}">
<p>You have been logged out.</p>
</c:if>
<p>
<label for="username">Username</label>
<input type="text" id="username" name="username" />
</p>
<p>
<label for="password">Password</label>
<input type="password" id="password" name="password" />
</p>
<input type="hidden" name="${_csrf.parameterName}" value="${_csrf.token}" />
<button type="submit" class="btn">Log in</button>
</form>
</body>
</html>