feat(points): 增加积分兑换联系信息
This commit is contained in:
@@ -34,8 +34,8 @@ func (s *Service) UpdateProduct(ctx context.Context, id uint64, req ProductReque
|
||||
return s.repo.UpdateProduct(ctx, id, req)
|
||||
}
|
||||
|
||||
func (s *Service) Redeem(ctx context.Context, userID, productID uint64, quantity int) (*RedemptionDTO, error) {
|
||||
return s.repo.Redeem(ctx, userID, productID, quantity)
|
||||
func (s *Service) Redeem(ctx context.Context, userID, productID uint64, req RedeemRequest) (*RedemptionDTO, error) {
|
||||
return s.repo.Redeem(ctx, userID, productID, req)
|
||||
}
|
||||
|
||||
func (s *Service) ListRedemptions(ctx context.Context, userID uint64, admin bool) ([]RedemptionDTO, error) {
|
||||
|
||||
Reference in New Issue
Block a user