Thymeleaf条件判断
th:if中条件成立时才显示结果
username不为空
age不为空
th:unless与th:if恰好相反,只有表达式中的条件不成立,才会显示结果
address为空
支持多路选择Switch结构,默认属性default可以用*表示
管理员
来宾
其他