批量创建用户

This commit is contained in:
2025-03-06 14:51:30 +08:00
parent b1593b1c8e
commit af7139bf25
2 changed files with 35 additions and 8 deletions

View File

@@ -62,6 +62,10 @@ export const Account = {
const res = await http.put(`/account/active/${id}`)
return res.data
},
async batchCreate(payload: {classname: string, names: string[]}) {
await http.post("/account/batch", payload)
}
}
export const Tutorial = {