import request from '@/utils/request';

// 获取个人积分排名
export const listScoreRanking = (eventId: string) => {
  return request({
    url: '/system/gameAthlete/listByEventId',
    method: 'get',
    params: {
      eventId: eventId
    }
  });
};

// 获取个人成绩排名
export const listPersonalRanking = (eventId: string) => {
  return request({
    url: '/system/gameScore/list',
    method: 'get',
    params: {
      eventId: eventId
    }
  });
};

// 获取团队排名
export const listTeamRanking = (eventId: string) => {
  return request({
    url: '/system/gameScore/list',
    method: 'get',
    params: {
      eventId: eventId
    }
  });
};