This commit is contained in:
Liang Ding 2022-06-15 14:47:42 +08:00
parent 2616fa8a7c
commit fdd8d6c717
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
3 changed files with 4 additions and 5 deletions

View file

@ -44,8 +44,7 @@ func GetRepoIndexLogs(page int) (logs []*dejavu.Log, pageCount, totalCount int,
return
}
page-- // 从 0 开始
logs, pageCount, totalCount, err = repo.GetIndexLogs(page, 32)
logs, pageCount, totalCount, err = repo.GetIndexLogs(page, 16)
if nil != err {
if dejavu.ErrNotFoundIndex == err {
logs = []*dejavu.Log{}