1.接收List
<tr th:each="info:${userList}" >
<td th:text="${info.id}"></td>
<td th:text="${info.username}"></td>
</tr>
2.接收List<Map>类型
<tr th:each="maps:${userMap}">
<td th:text="${maps.id}"></td>
<td th:text="${maps.name}"></td>
</tr>
对,没错,他俩一模一样,233333