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.
 
 
 

16 lines
365 B

package service
import (
"context"
"go-common/app/admin/main/apm/model/ecode"
"go-common/library/log"
)
// GetCodes ...
func (s *Service) GetCodes(c context.Context, Interval1, Interval2 string) (data []*codes.Codes, err error) {
data, err = s.dao.GetCodes(c, Interval1, Interval2)
if err != nil {
log.Error("service GetCodes error(%v)", err)
}
return
}