增加更多的输出日志

pull/257/head
Minho 2018-04-03 11:20:34 +08:00
parent 81df7f262b
commit 26ee92c92b
1 changed files with 4 additions and 0 deletions

View File

@ -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"