实现登录,编写错误码,实现错误码返回json
This commit is contained in:
@@ -5,6 +5,15 @@
|
||||
<title>登录</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>登录系统</h1>
|
||||
<center>
|
||||
<h1>登录系统</h1>
|
||||
<form action="/cms/login/dologin" method="post">
|
||||
<p>用户名:
|
||||
<input type="text" name="colname"></p>
|
||||
<p>密码:
|
||||
<input type="password" name="colpassword"></p>
|
||||
<input type="submit" value="登录">
|
||||
</center>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user