Commit ba0ebbc2 authored by 喻春霖's avatar 喻春霖

fixed

parent 260ad323
......@@ -129,14 +129,8 @@ public class AuthController {
for (OauthType oauthType : oauthTypes) {
if ("idp".equals(oauthType.getType())){
try {
String idpAuthTypeUrl = generateSpLoginUrl(returnUrl, oauthType.getCode(), authLog.getId());
modelAndView.addObject(oauthType.getCode()+"LoginUrl", idpAuthTypeUrl);
}catch (Exception e){
System.out.println("============"+oauthType.getCode());
}
String idpAuthTypeUrl = generateSpLoginUrl(returnUrl, oauthType.getCode(), authLog.getId());
modelAndView.addObject(oauthType.getCode()+"LoginUrl", idpAuthTypeUrl);
}
}
......
......@@ -9,7 +9,6 @@ public enum OauthType {
dianjiaoguan("dianjiaoguan","电教馆账号认证","oauth"),
edenoperation("edenoperation","数字教材账号认证","oauth"),
jsyd("jsyd","金山教育","idp"),
qpjy("qpjy","青浦教育","idp"),
xhjy("xhjy","徐汇教育","idp"),
cnjy("cnjy","长宁教育","idp"),
......
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