https://www.cnblogs.com/Bkxk/p/12617078.html
https://www.cnblogs.com/lenve/p/12321204.html
SpringBoot整合Shiro,Shiro使用Thymeleaf
HTML代码
<a href="#" shiro:hasPermission="system:user:add">包含权限字符串才能看到</a>
// 验证用户是否具备某权限
var permission = [[${@permission.hasPermi(‘system:user:add’)}]];