Browse Source

修改登录页面,供swagger调试使用

Feick 5 years ago
parent
commit
c06409ded1
1 changed files with 6 additions and 0 deletions
  1. 6 0
      src/main/resources/static/login.html

+ 6 - 0
src/main/resources/static/login.html

@@ -6,5 +6,11 @@
 </head>
 <body>
 <h2>Login</h2>
+<form action="/login" method="post">
+    <input type="text" name="username" value=""/><br/>
+    <input type="password" name="password" value=""/><br/>
+    <input type="text" name="loginFrom" value="student"><br/>
+    <input type="submit" name="submit" value="登录"><br/>
+</form>
 </body>
 </html>