set minimal count of accepted_number for user rank

This commit is contained in:
2024-06-12 15:10:11 +08:00
parent e379c0bb6d
commit 7d9e8d228f
3 changed files with 9 additions and 4 deletions

View File

@@ -104,9 +104,14 @@ export function getSubmissionStatistics(
})
}
export function getRank(offset: number, limit: number, username?: string) {
export function getRank(
offset: number,
limit: number,
n: number,
username?: string,
) {
return http.get("user_rank", {
params: { offset, limit, rule: "acm", username },
params: { offset, limit, rule: "acm", username, n },
})
}