首页>代码>Springboot开发的客户关系管理系统SpringbootCRM>/SpringbootCRM/src/main/java/com/springboot/config/ThymeleafConfig.java
package com.springboot.config; import at.pollux.thymeleaf.shiro.dialect.ShiroDialect; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; @Configuration public class ThymeleafConfig { @Bean public ShiroDialect shiroDialect(){ return new ShiroDialect(); } }