package com.red.circle.other.inner.endpoint.activity.api;

import com.red.circle.framework.dto.ResultResponse;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 用户抽奖次数统计Client API.
 *
 * @author system
 * @since 2025-10-18
 */
public interface LotteryUserCountClientApi {

  String API_PREFIX = "/lottery-user-count/client";

  /**
   * 获取用户今日抽奖次数.
   */
  @GetMapping("/getTodayCount")
  ResultResponse<Integer> getTodayCount(
      @RequestParam("userId") Long userId,
      @RequestParam("activityId") Long activityId
  );

  /**
   * 增加用户抽奖次数.
   */
  @GetMapping("/incrDrawCount")
  ResultResponse<Void> incrDrawCount(
      @RequestParam("userId") Long userId,
      @RequestParam("activityId") Long activityId
  );

}
