修复二级子目录BUG

This commit is contained in:
Minho
2018-03-25 19:33:37 +08:00
parent 3e3aafa77d
commit 970e77f71c
9 changed files with 37 additions and 33 deletions

View File

@@ -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"] = ""
}