feat:搜索支持文章

This commit is contained in:
lifei6671
2018-11-29 14:53:14 +08:00
parent 437b11614e
commit 8681d8fa3e
3 changed files with 136 additions and 22 deletions

View File

@@ -39,7 +39,6 @@ func (c *SearchController) Index() {
searchResult, totalCount, err := models.NewDocumentSearchResult().FindToPager(keyword, pageIndex, conf.PageSize, memberId)
if err != nil {
beego.Error("查询搜索结果失败 => ",err)
return
}
if totalCount > 0 {