Create api for get custom template.

pull/146/head
ruibaby 2019-04-04 17:04:58 +08:00
parent 82af70abcc
commit 105fb451af
1 changed files with 5 additions and 0 deletions

View File

@ -73,6 +73,11 @@ public class ThemeController {
themeService.saveTemplateContent(path, content); themeService.saveTemplateContent(path, content);
} }
@GetMapping("files/custom")
public List<String> customTemplate(){
return themeService.getCustomTpl(HaloConst.ACTIVATED_THEME_NAME);
}
/** /**
* Active theme * Active theme
* *