mirror of
https://github.com/PlayEdu/backend
synced 2025-12-23 20:29:39 +08:00
新增LDAP的组织架构一键同步
This commit is contained in:
@@ -54,3 +54,7 @@ export function dropDiffClass(id: number, parent_id: number, ids: number[]) {
|
||||
export function checkDestroy(id: number) {
|
||||
return client.get(`/backend/v1/department/${id}/destroy`, {});
|
||||
}
|
||||
|
||||
export function ldapSync() {
|
||||
return client.post(`/backend/v1/department/ldap-sync`, {});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user