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

import com.red.circle.other.app.dto.clientobject.SpinsTaskCO;
import com.red.circle.other.app.dto.clientobject.SpinsTaskRewardCO;
import com.red.circle.other.app.dto.cmd.SpinsTaskReceiveRewardCmd;

import java.util.List;

/**
 * Spins任务服务接口
 *
 * @author system
 * @date 2025-01-21
 */
public interface SpinsTaskService {

    /**
     * 获取用户任务列表
     *
     * @param userId 用户ID
     * @return 任务列表
     */
    List<SpinsTaskCO> getUserTaskList(Long userId);

    /**
     * 领取任务奖励
     *
     * @param cmd 领取奖励命令
     * @return 奖励信息
     */
    SpinsTaskRewardCO receiveTaskReward(SpinsTaskReceiveRewardCmd cmd);
}
