mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-06-28 15:45:35 +08:00
屏蔽评论功能
This commit is contained in:
parent
ab5eb42a93
commit
af273ea35b
@ -27,8 +27,8 @@ func (m *Dashboard) Query() (*Dashboard) {
|
||||
member_number,_ := o.QueryTable(NewMember().TableNameWithPrefix()).Count()
|
||||
m.MemberNumber = member_number
|
||||
|
||||
comment_number,_ := o.QueryTable(NewComment().TableNameWithPrefix()).Count()
|
||||
m.CommentNumber = comment_number
|
||||
//comment_number,_ := o.QueryTable(NewComment().TableNameWithPrefix()).Count()
|
||||
m.CommentNumber = 0
|
||||
|
||||
attachment_number,_ := o.QueryTable(NewAttachment().TableNameWithPrefix()).Count()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user