You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
445 B
17 lines
445 B
package service |
|
|
|
import ( |
|
"context" |
|
"go-common/app/admin/main/videoup/model/archive" |
|
"go-common/library/log" |
|
"time" |
|
) |
|
|
|
// StatsPoints get stats point |
|
func (s *Service) StatsPoints(c context.Context, stime, etime time.Time, typeInt int8) (points []*archive.StatsPoint, err error) { |
|
if points, err = s.arc.StatsPoints(c, stime, etime, typeInt); err != nil { |
|
log.Error("s.arc.TaskTooksByHalfHour(%v,%v)", stime, etime) |
|
return |
|
} |
|
return |
|
}
|
|
|