From 8710e0abd2052c10b766a00b6c5091889b1659b1 Mon Sep 17 00:00:00 2001 From: hzj <1304805162@qq.com> Date: Tue, 10 Mar 2026 19:08:04 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=B4=BB=E5=8A=A8=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E6=96=87=E4=BB=B6):=20=E6=96=B0=E5=A2=9E=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E6=80=BB=E6=A6=9C=E5=88=97=E8=A1=A8=E7=9A=84=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/activity.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/api/activity.js b/src/api/activity.js index f32aa2c..c788d5c 100644 --- a/src/api/activity.js +++ b/src/api/activity.js @@ -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 {