mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-06-08 02:04:04 +08:00
LDAP部门+学员一起同步
This commit is contained in:
parent
be6264dcd3
commit
9f27aaac42
@ -314,14 +314,6 @@ public class DepartmentController {
|
|||||||
@SneakyThrows
|
@SneakyThrows
|
||||||
public JsonResponse ldapSync() {
|
public JsonResponse ldapSync() {
|
||||||
ldapBus.departmentSync();
|
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();
|
ldapBus.userSync();
|
||||||
return JsonResponse.success();
|
return JsonResponse.success();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user