forked from github/dataease
fix(ldap): 测试连接以表单信息为准
This commit is contained in:
parent
014401e68b
commit
ee8b461992
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user