upload.html 523 B

123456789101112131415
  1. <!DOCTYPE HTML>
  2. <html xmlns:th="http://www.thymeleaf.org">
  3. <head>
  4. <title>SpringCloud微服务</title>
  5. <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
  6. </head>
  7. <body>
  8. <form th:action="@{/consumer/upload}" method="post" enctype="multipart/form-data">
  9. 姓名:<input type="text" name="name" id="name" value="QingSe"/><br/>
  10. 照片:<input type="file" name="photo" id="photo"/><br/>
  11. <input type="submit" value="提交"/>
  12. <input type="reset" value="重置"/>
  13. </form>
  14. </body>
  15. </html>