package com.red.circle.other.app.service.activity;

import com.red.circle.other.app.command.activity.query.ActivityRewardQueryExe;
import com.red.circle.other.app.dto.cmd.activity.ActivityRewardQueryCmd;
import com.red.circle.other.inner.model.dto.activity.props.ActivityResource;
import java.util.List;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * 活动奖品 实现.
 *
 * @author pengliang on 2021/12/29
 */
@Service
@RequiredArgsConstructor
public class ActivityRewardServiceImpl implements ActivityRewardService {

  private final ActivityRewardQueryExe weekKingQueenQueryExe;

  @Override
  public List<ActivityResource> listReward(ActivityRewardQueryCmd cmd) {
    return weekKingQueenQueryExe.execute(cmd);
  }
}
