系统管理人员新建、编辑初步

This commit is contained in:
禺狨
2023-03-06 16:52:27 +08:00
parent 2309710f27
commit 429e4d4ab2
8 changed files with 302 additions and 3 deletions

View File

@@ -40,7 +40,7 @@ export function updateAdminUser(
isBanLogin: number,
roleIds: number[]
) {
return client.post(`/backend/v1/admin-user/${id}`, {
return client.put(`/backend/v1/admin-user/${id}`, {
name: name,
email: email,
password: password,