mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-12-21 11:13:57 +08:00
1、优化文档缓存逻辑
2、新增标签管理功能 3、优化部分页面显示效果
This commit is contained in:
@@ -47,7 +47,7 @@ func (c *LabelController) Index() {
|
||||
if c.Member != nil {
|
||||
member_id = c.Member.MemberId
|
||||
}
|
||||
search_result, totalCount, err := models.NewBook().FindForLabelToPager(labelName, pageIndex, conf.PageSize, member_id)
|
||||
searchResult, totalCount, err := models.NewBook().FindForLabelToPager(labelName, pageIndex, conf.PageSize, member_id)
|
||||
|
||||
if err != nil {
|
||||
beego.Error(err)
|
||||
@@ -59,7 +59,7 @@ func (c *LabelController) Index() {
|
||||
} else {
|
||||
c.Data["PageHtml"] = ""
|
||||
}
|
||||
c.Data["Lists"] = search_result
|
||||
c.Data["Lists"] = searchResult
|
||||
|
||||
c.Data["LabelName"] = labelName
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user