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