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

import com.red.circle.framework.dto.PageResult;
import com.red.circle.framework.dto.ResultResponse;
import com.red.circle.other.inner.enums.activity.KingQueenType;
import com.red.circle.other.inner.model.dto.sys.SysActivityCountDTO;
import com.red.circle.other.inner.model.dto.sys.WeekKingQueenCountVO;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * 国王和王后排行
 */
public interface WeekKingQueenClientApi {

  String API_PREFIX = "/week/king-queen/client";

  @GetMapping("/ranking")
  ResultResponse<PageResult<SysActivityCountDTO>> listRanking(
      @RequestParam("sysOrigin") String sysOrigin,
      @RequestParam("type") KingQueenType type,
      @RequestParam("group") String group,
      @RequestParam("current") Long current,
      @RequestParam("size") Long size);

  @GetMapping("/history")
  ResultResponse<List<WeekKingQueenCountVO>> listLastThreeMonthsTop1(String sysOrigin);

}
