mirror of
https://github.com/mindoc-org/mindoc.git
synced 2026-02-27 17:03:57 +08:00
feat:搜索支持文章
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user