后台出题人

This commit is contained in:
2025-10-03 14:30:08 +08:00
parent df72936d9f
commit e462bd0864
6 changed files with 82 additions and 53 deletions

View File

@@ -56,8 +56,12 @@ export async function getProblemList(
}
}
export function getAuthors() {
return http.get("problem/author")
export function getAuthors(all = false) {
return http.get("problem/author", {
params: {
all: all ? "1" : "0",
},
})
}
export function getRandomProblemID() {