修改角色为多角色

This commit is contained in:
1147680382@qq.com
2025-06-05 17:23:38 +08:00
parent dd56481b52
commit b57cdf35a2
10 changed files with 153 additions and 203 deletions
+6 -5
View File
@@ -49,12 +49,13 @@ export function getNonGroupUsers() {
});
}
// 添加/修改组内人员角色
export function updateGroupUserRole(groupId, userid, role) {
// 更新组内用户角色
export const updateGroupUserRole = (data) => {
return service({
url: `/group/${groupId}/user/${userid}/role/${role}`,
method: "post",
});
url: '/group/user',
method: 'post',
data
})
}
// 获取组内人员列表