mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-12-22 03:57:25 +08:00
增加评论功能
This commit is contained in:
@@ -516,7 +516,6 @@ func (c *BookController) Create() {
|
||||
book.Identify = identify
|
||||
book.DocCount = 0
|
||||
book.MemberId = c.Member.MemberId
|
||||
book.CommentCount = 0
|
||||
book.Version = time.Now().Unix()
|
||||
book.IsEnableShare = 0
|
||||
book.IsUseFirstDocument = 1
|
||||
@@ -634,7 +633,6 @@ func (c *BookController) Import() {
|
||||
book.Identify = identify
|
||||
book.DocCount = 0
|
||||
book.MemberId = c.Member.MemberId
|
||||
book.CommentCount = 0
|
||||
book.Version = time.Now().Unix()
|
||||
book.ItemId = itemId
|
||||
|
||||
|
||||
Reference in New Issue
Block a user