如何在thymeleaf和freemarker的url中绑定传递的参数

如何在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>

猜你喜欢

转载自www.cnblogs.com/chenyameng/p/12652447.html