Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PointsRankDTO ¶
type PointsService ¶
type PointsService interface {
GetPoints(*PointsCmd) (PointsDTO, error)
GetPointsRank(promotionid string) ([]PointsRankDTO, error)
}
func NewPointsService ¶
func NewPointsService( service service.PointsTaskService, ) PointsService
type PromotionCmd ¶
type PromotionDTO ¶
type PromotionService ¶
type PromotionService interface {
GetPromotion(*PromotionCmd) (PromotionDTO, error)
GetUserRegisterPromotion(*types.Account) ([]PromotionDTO, string, error)
UserRegister(*UserRegistrationCmd) (code string, err error)
}
func NewPromotionService ¶
func NewPromotionService( service service.PromotionUserService, ptservice service.PointsTaskService, repo repository.Promotion, ) PromotionService
type UserRegistrationCmd ¶
type UserRegistrationCmd struct {
PromotionId string
domain.UserRegistration
Origin domain.Origin
}
Click to show internal directories.
Click to hide internal directories.