Commit 062c1693 by 陶光胜

登陆授权

parent f8f6b52a
......@@ -213,15 +213,7 @@ public class LoginController {
//塞缓存
UserDetailUtils.setUserDetail(userDetail);
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);
}
}
}
......
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