Documentation
¶
Index ¶
- type RechargePromotionService
- func (s *RechargePromotionService) CreateRechargePromotion(ctx context.Context, req *v1.CreateRechargePromotionRequest) (*v1.CreateRechargePromotionReply, error)
- func (s *RechargePromotionService) DeleteRechargePromotion(ctx context.Context, req *v1.DeleteRechargePromotionRequest) (*v1.DeleteRechargePromotionReply, error)
- func (s *RechargePromotionService) GetRechargePromotionList(ctx context.Context, req *v1.GetRechargePromotionListRequest) (*v1.GetRechargePromotionListReply, error)
- func (s *RechargePromotionService) UpdateRechargePromotion(ctx context.Context, req *v1.UpdateRechargePromotionRequest) (*v1.UpdateRechargePromotionReply, error)
- func (s *RechargePromotionService) UpdateRechargePromotionStatus(ctx context.Context, req *v1.UpdateRechargePromotionStatusRequest) (*v1.UpdateRechargePromotionStatusReply, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RechargePromotionService ¶
type RechargePromotionService struct {
v1.UnimplementedRechargePromotionAdminServiceServer
// contains filtered or unexported fields
}
RechargePromotionService 充值促销管理服务
func NewRechargePromotionService ¶
func NewRechargePromotionService(uc *promotionbiz.RechargePromotionUsecase, logger log.Logger) *RechargePromotionService
NewRechargePromotionService 创建充值促销管理服务
func (*RechargePromotionService) CreateRechargePromotion ¶
func (s *RechargePromotionService) CreateRechargePromotion(ctx context.Context, req *v1.CreateRechargePromotionRequest) (*v1.CreateRechargePromotionReply, error)
CreateRechargePromotion 创建充值促销活动
func (*RechargePromotionService) DeleteRechargePromotion ¶
func (s *RechargePromotionService) DeleteRechargePromotion(ctx context.Context, req *v1.DeleteRechargePromotionRequest) (*v1.DeleteRechargePromotionReply, error)
DeleteRechargePromotion 删除充值促销活动
func (*RechargePromotionService) GetRechargePromotionList ¶
func (s *RechargePromotionService) GetRechargePromotionList(ctx context.Context, req *v1.GetRechargePromotionListRequest) (*v1.GetRechargePromotionListReply, error)
GetRechargePromotionList 获取充值促销活动列表
func (*RechargePromotionService) UpdateRechargePromotion ¶
func (s *RechargePromotionService) UpdateRechargePromotion(ctx context.Context, req *v1.UpdateRechargePromotionRequest) (*v1.UpdateRechargePromotionReply, error)
UpdateRechargePromotion 更新充值促销活动(tiers 全量替换)
func (*RechargePromotionService) UpdateRechargePromotionStatus ¶
func (s *RechargePromotionService) UpdateRechargePromotionStatus(ctx context.Context, req *v1.UpdateRechargePromotionStatusRequest) (*v1.UpdateRechargePromotionStatusReply, error)
UpdateRechargePromotionStatus 快速启停活动
Click to show internal directories.
Click to hide internal directories.