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.
 
 
 

13 lines
249 B

package service
import (
"context"
"time"
"go-common/app/interface/main/growup/model"
)
// GetBanner get banner for now
func (s *Service) GetBanner(c context.Context) (b *model.Banner, err error) {
return s.dao.Banner(c, time.Now().Unix())
}