mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-06-07 17:55:59 +08:00
LDAP部门+学员一起同步
This commit is contained in:
parent
be6264dcd3
commit
9f27aaac42
@ -314,14 +314,6 @@ public class DepartmentController {
|
||||
@SneakyThrows
|
||||
public JsonResponse ldapSync() {
|
||||
ldapBus.departmentSync();
|
||||
return JsonResponse.success();
|
||||
}
|
||||
|
||||
@BackendPermission(slug = BPermissionConstant.DEPARTMENT_CUD)
|
||||
@PostMapping("/ldap-user-sync")
|
||||
@Log(title = "部门-LDAP学员同步", businessType = BusinessTypeConstant.INSERT)
|
||||
@SneakyThrows
|
||||
public JsonResponse ldapUserSync() {
|
||||
ldapBus.userSync();
|
||||
return JsonResponse.success();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user