change - 单点登录修改

master
wenjy 2 years ago
parent 292fdaf076
commit 15aedc09b7

@ -85,6 +85,10 @@ public class SysLoginController extends BaseController
//单点登录接口
String requestURL = request.getParameter("iot_sessionid");
System.out.println("获取sessionId"+requestURL);
if(StringUtils.isEmpty(requestURL)){
//return "redirect:"+loginSuccessRedirect;
return "login";
}
try{
if(StringUtils.isNotNull(requestURL)){
Map<String,Object> params = new HashMap<>();
@ -131,6 +135,7 @@ public class SysLoginController extends BaseController
}catch (Exception e) {
System.out.println("登录异常:"+e);
return "redirect:"+loginSuccessRedirect;
}
return "login";
}

Loading…
Cancel
Save