@Component public class BeetlService extends Object
构造器和说明 |
---|
BeetlService() |
public String getRenderHtmlByTemplate(String templateContent, Map<String,Object> dataMap) throws IOException
templateContent
- 模板内容Exception
IOException
public String getRenderHtmlByFile(String templatePath, Map<String,Object> dataMap) throws IOException
templatePath
- 模板路径dataMap
- IOException
Copyright © 2025. All rights reserved.