Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedemptionService ¶
type RedemptionService struct {
v1.UnimplementedRedemptionServiceServer
// contains filtered or unexported fields
}
RedemptionService 兑换码服务
func NewRedemptionService ¶
func NewRedemptionService(uc *redemptionBiz.RedemptionUseCase) *RedemptionService
NewRedemptionService 创建兑换码服务
func (*RedemptionService) RedeemCode ¶
func (s *RedemptionService) RedeemCode(ctx context.Context, req *v1.RedeemCodeRequest) (*v1.RedeemCodeReply, error)
RedeemCode 兑换兑换码
Click to show internal directories.
Click to hide internal directories.