mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 05:22:13 +08:00
Merge pull request #4301 from dataease/pr@dev@fix_ldap_test_conn
fix(ldap): 测试连接以表单信息为准
This commit is contained in:
@@ -31,10 +31,10 @@ public class XLdapServer {
|
||||
}
|
||||
|
||||
@PostMapping("/testConn")
|
||||
public void testConn() {
|
||||
public void testConn(@RequestBody List<SysSettingDto> settings) {
|
||||
LdapXpackService ldapXpackService = SpringContextUtil.getBean(LdapXpackService.class);
|
||||
try {
|
||||
ldapXpackService.testConn();
|
||||
ldapXpackService.testConn(settings);
|
||||
}catch(Exception e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user