新增LDAP的组织架构一键同步

This commit is contained in:
xxx
2023-09-21 10:12:18 +08:00
parent 5d5dc4dde6
commit 36ab0200a0
2 changed files with 33 additions and 2 deletions

View File

@@ -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`, {});
}