|
|
|
@ -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";
|
|
|
|
|
}
|
|
|
|
|