LDAP部门+学员一起同步

This commit is contained in:
xxx 2023-11-14 13:51:48 +08:00
parent be6264dcd3
commit 9f27aaac42

View File

@ -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();
}