Commit 21a80f79 by tangzy

添加dncode的访问

parent abd2f245
......@@ -44,10 +44,12 @@ public class UkeyLoginController {
log.info("====getLoginidByDN====map"+map);
if(map.containsKey("nam")) {
String loginid = map.get("nam").toString();
String dncode = map.get("ukey").toString();
log.info("====getUserByDn====loginid" + loginid);
if (StringUtils.isNotBlank(loginid)) {
if (StringUtils.isNotBlank(loginid) && StringUtils.isNotBlank(dncode)) {
retDatamap.put("msgCode", "0000");
retDatamap.put("loginid", loginid);
retDatamap.put("dncode", dncode);
return ResultUtil.result(ErrorCodes.SUCCESS, ErrorCodes.SUCCESS_INFO, retDatamap, noUiVersion.getVersion());
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment