package service import ( "gitea.timerzz.com/kedaya_haitao/common/pkg/web" "gitea.timerzz.com/kedaya_haitao/common/structs/storage" ) type ProfitRate struct { storage *storage.Storage } func NewProfitRate(storage *storage.Storage) *ProfitRate { return &ProfitRate{ storage: storage, } } func (s *ProfitRate) Registry(r fiber.Router) { api := r.Group("/api/v2") } func (s *ProfitRate) List(c fiber.Ctx) error { return c.JSON(web.NewResponse(web.NewListResponse(total, sellers))) }