src/main/java/com/xcong/farmer/cms/configurations/CmsConfig.java
@@ -17,7 +17,7 @@ @Bean public TemplateConfiguration templateConfiguration() { log.info("CMS管理系统"); TemplateConfiguration cfg = new TemplateConfiguration("/Users/helius/Desktop/court-web", "", "/Users/helius/Desktop/web/output"); TemplateConfiguration cfg = new TemplateConfiguration("/Users/helius/Desktop/template", "", "/Users/helius/Desktop/web/output"); TemplateLoader loader = new TemplateLoader(cfg); cfg.templateLoader(loader); return cfg;