feat(活动接口文件): 新增获取总榜列表的接口

This commit is contained in:
hzj 2026-03-10 19:08:04 +08:00
parent 7df5dd0ee9
commit 8710e0abd2

View File

@ -36,6 +36,18 @@ export const getOverallRankingTop3 = async (data) => {
}
}
// 获取总榜
export const getOverallRanking = async (topN, data) => {
try {
const response = await post(`/ranking/top-three-overall?topN=${topN}`, data)
return response
} catch (error) {
console.error('Failed to get history top one:', error)
console.error('error:' + error.response.errorMsg)
throw error
}
}
// 获取历史榜首
export const getHistoryTopOne = async (activityType) => {
try {