add website config.

This commit is contained in:
2023-04-04 14:05:30 +08:00
parent 2066cb441b
commit 48fc661205
7 changed files with 67 additions and 38 deletions

View File

@@ -29,6 +29,10 @@ function filterResult(result: Problem) {
return newResult
}
export function getWebsiteConfig() {
return http.get("website")
}
export async function getProblemList(
offset = 0,
limit = 10,