import { get } from '../../http'

// 参数类型定义
interface RankingParams {
  endDate?: string
  startDate?: string
  type?: 'daily' | 'monthly' | 'weekly'
}

// 获取排行榜前三
export const getTopThreeUser = async (params: RankingParams) => {
  return await get<any>('/sysUser/queryTopThreeUser', params)
}
