@Configuration public class ThymeleafUtil extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PAGE_VARIABLE
页面变量
|
Constructor and Description |
---|
ThymeleafUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
process(String template,
Map<String,Object> variables)
模板名称需要在 classpath:templates/plugin 下
|
public static final String PAGE_VARIABLE
Copyright © 2017–2019. All rights reserved.