域名排行增加条数限制

This commit is contained in:
刘祥超
2021-07-21 08:08:16 +08:00
parent 6d359b09f2
commit 3cce13e671
3 changed files with 12 additions and 8 deletions

View File

@@ -647,7 +647,7 @@ func (this *AdminService) ComposeAdminDashboard(ctx context.Context, req *pb.Com
// 域名排行
if isPlus {
topDomainStats, err := stats.SharedServerDomainHourlyStatDAO.FindTopDomainStats(tx, hourFrom, hourTo)
topDomainStats, err := stats.SharedServerDomainHourlyStatDAO.FindTopDomainStats(tx, hourFrom, hourTo, 10)
if err != nil {
return nil, err
}