Commit 73f8ca25 by 陶光胜

登陆授权

parent 310a5dab
...@@ -213,18 +213,10 @@ public class LoginController { ...@@ -213,18 +213,10 @@ public class LoginController {
//塞缓存 //塞缓存
UserDetailUtils.setUserDetail(userDetail); UserDetailUtils.setUserDetail(userDetail);
logger.info("登录所花时间:{}", System.currentTimeMillis() - startTime); logger.info("登录所花时间:{}", System.currentTimeMillis() - startTime);
if(StringUtils.isNotBlank(appId)){
try {
response.sendRedirect("https://four.gicdev.com/application-auth-center/auth/custom?authToken="+appId);
} catch (IOException e) {
e.printStackTrace();
}
} else {
return RestResponse.success(userDetail); return RestResponse.success(userDetail);
} }
} }
} }
}
return RestResponse.success(); return RestResponse.success();
} }
......
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