重构用户权限
Some checks failed
Deploy / deploy (push) Has been cancelled

This commit is contained in:
2025-09-25 18:41:32 +08:00
parent 4429e2f018
commit efbca0e802
15 changed files with 619 additions and 187 deletions

View File

@@ -84,11 +84,11 @@ export function getContestProblem(id: number) {
export function getUserList(
offset = 0,
limit = 10,
admin = "0",
type = "",
keyword: string,
) {
return http.get("admin/user", {
params: { paging: true, offset, limit, keyword, admin },
params: { paging: true, offset, limit, keyword, type },
})
}