<!--thymeleaf-extras-shiro依賴-->
<dependency>
<groupId>com.github.theborakompanioni</groupId>
<artifactId>thymeleaf-extras-shiro</artifactId>
<version>2.0.0</version>
</dependency>
命名空間
xmlns:shiro="http://www.thymeleaf.org/thymeleaf-extras-shiro"