修改用户概述统计的一个Bug

This commit is contained in:
GoEdgeLab
2020-12-23 21:32:55 +08:00
parent 559e6cc7f9
commit df33936ba1

View File

@@ -296,7 +296,7 @@ func (this *UserService) ComposeUserDashboard(ctx context.Context, req *pb.Compo
}
// 本月带宽峰值
monthlyPeekTrafficBytes, err := models.SharedServerDailyStatDAO.SumUserMonthly(req.UserId, 0, month)
monthlyPeekTrafficBytes, err := models.SharedServerDailyStatDAO.SumUserMonthlyPeek(req.UserId, 0, month)
if err != nil {
return nil, err
}