Freemarker通过模板字符串或模板文件生成数据
1. 模板字符串@Testpublic void test() throws Exception { Map<String, String> map = new HashMap<String, String>(); map.put("username", "lisi"); String templateString = "欢迎${username}登录!";...
原创
2019-09-12 21:54:29 ·
2785 阅读 ·
0 评论