mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-08 10:22:46 +00:00
Group to department (#6411)
* change group to department * update group quota * admin change group * optimize code * Update change-group-dialog.js * update * code-optimize * code-optimize * Update groups.py * update * fix group-name --------- Co-authored-by: 孙永强 <11704063+s-yongqiang@user.noreply.gitee.com> Co-authored-by: r350178982 <32759763+r350178982@users.noreply.github.com>
This commit is contained in:
@@ -81,6 +81,11 @@ class SystemAdminAPI {
|
||||
return this.req.get(url);
|
||||
}
|
||||
|
||||
adminGroup2Department(groupID) {
|
||||
const url = this.server + '/api/v2.1/admin/groups/' + groupID + '/group-to-department/';
|
||||
return this.req.post(url);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
let systemAdminAPI = new SystemAdminAPI();
|
||||
|
Reference in New Issue
Block a user