diff --git a/controllers/BookController.go b/controllers/BookController.go index 3f02a64b..690c859b 100644 --- a/controllers/BookController.go +++ b/controllers/BookController.go @@ -487,6 +487,10 @@ func (c *BookController) Create() { book.MemberId = c.Member.MemberId book.CommentCount = 0 book.Version = time.Now().Unix() + book.IsEnableShare = 0 + book.IsUseFirstDocument = 1 + book.IsDownload = 1 + book.AutoRelease = 0 book.Editor = "markdown" book.Theme = "default"