From ee8b461992840d99f271efcbbaa1cc654705b219 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Thu, 5 Jan 2023 16:43:29 +0800 Subject: [PATCH] =?UTF-8?q?fix(ldap):=20=E6=B5=8B=E8=AF=95=E8=BF=9E?= =?UTF-8?q?=E6=8E=A5=E4=BB=A5=E8=A1=A8=E5=8D=95=E4=BF=A1=E6=81=AF=E4=B8=BA?= =?UTF-8?q?=E5=87=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/io/dataease/plugins/server/XLdapServer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/main/java/io/dataease/plugins/server/XLdapServer.java b/backend/src/main/java/io/dataease/plugins/server/XLdapServer.java index 742a9f03cb..2e66c91e6d 100644 --- a/backend/src/main/java/io/dataease/plugins/server/XLdapServer.java +++ b/backend/src/main/java/io/dataease/plugins/server/XLdapServer.java @@ -31,10 +31,10 @@ public class XLdapServer { } @PostMapping("/testConn") - public void testConn() { + public void testConn(@RequestBody List settings) { LdapXpackService ldapXpackService = SpringContextUtil.getBean(LdapXpackService.class); try { - ldapXpackService.testConn(); + ldapXpackService.testConn(settings); }catch(Exception e) { throw new RuntimeException(e); }