实现导入Markdown

This commit is contained in:
Minho
2018-03-25 14:59:42 +08:00
parent 74df816f38
commit 6a49b8a42f
6 changed files with 210 additions and 170 deletions

View File

@@ -766,7 +766,7 @@ func (c *DocumentController) Content() {
//如果启用了自动发布
if autoRelease {
go func(identify string) {
models.NewDocument().ReleaseContent(bookId)
models.NewBook().ReleaseContent(bookId)
}(identify)
}