如何在thymeleaf和freemarker的url中绑定传递的参数
freemarker
<a href="/user/getUserInfo?userId=${user.userId}" style="color: #878787">查看</a>
thymeleaf
<a th:href="@{/admin/download/{id}(id=${file.id})}" class="ui mini blue basic button">下载</a>
2024-03-15 12:30:59
<a href="/user/getUserInfo?userId=${user.userId}" style="color: #878787">查看</a>
<a th:href="@{/admin/download/{id}(id=${file.id})}" class="ui mini blue basic button">下载</a>