pull/161/head
ruibaby 2019-05-16 23:13:51 +08:00
parent 549485f1a1
commit 3ef3d1b779
1 changed files with 1 additions and 2 deletions

View File

@ -59,8 +59,7 @@ public class ThemeController {
@PutMapping("files/content")
public void updateContentBy(@RequestParam(name = "path") String path,
@RequestParam(name = "content") String content) {
// TODO Refactor the params to body
@RequestBody String content) {
themeService.saveTemplateContent(path, content);
}