feat(group): edit group

This commit is contained in:
2026-03-09 15:03:18 +08:00
parent e7670c7cef
commit fe46a422b4
6 changed files with 87 additions and 91 deletions

View File

@@ -38,6 +38,15 @@ export const userEditById = (data: User.EditProps, id: number) => {
})
}
// 编辑用户组织
export const userUpdateGroup = (data: User.UpdateGroupProps) => {
return httpFetch({
url: BASE_LABEL_API + `/api/v1/label_server/user/update/group`,
method: "POST",
body: JSON.stringify(data),
})
}
// 获取用户组织树
export const getUserGroupTree = () => {
return httpFetch<Organization.Response[]>({