这里写自定义目录标题
eg:地址为:localhost:8080/toHousedesc?houseId=2
在表单元素或标签中用thymeleaf的语法进行接收
<form id="addCollectForm">
<input type="text" id="houseId" th:value="${param.houseId}">
</form>
th:value="${param.houseId}"即可接收到跳转时所带参数
记得先在页面加载thymeleaf的命名空间:
<html lang="en" xmlns:th="http://www.thymeleaf.org">