Przeglądaj źródła

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

Feick 5 lat temu
rodzic
commit
c06409ded1
1 zmienionych plików z 6 dodań i 0 usunięć
  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>