<td><a th:href="@{'/user/Edit/'+${user.id}}"><button class="btn-warning">编辑</button></a></td>
后端:
@RequestMapping("/Edit/{id}")
<td><a th:href="@{'/user/Edit/'+${user.id}}"><button class="btn-warning">编辑</button></a></td>
后端:
@RequestMapping("/Edit/{id}")