mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-09-24 05:03:45 +08:00
修复二级子目录BUG
This commit is contained in:
@@ -56,6 +56,10 @@ func (c *ManagerController) Users() {
|
||||
if totalCount > 0 {
|
||||
pager := pagination.NewPagination(c.Ctx.Request, totalCount, conf.PageSize, c.BaseUrl())
|
||||
c.Data["PageHtml"] = pager.HtmlPages()
|
||||
|
||||
for _,item := range members {
|
||||
item.Avatar = conf.URLForWithCdnImage(item.Avatar)
|
||||
}
|
||||
} else {
|
||||
c.Data["PageHtml"] = ""
|
||||
}
|
||||
|
Reference in New Issue
Block a user