feat: There is no way the, fk

This commit is contained in:
396572590@qq.com
2022-07-28 13:43:10 +08:00
parent a008d8cb4c
commit 18e8cca200
@@ -18,10 +18,10 @@ public class IDMUtil {
private OkHttpUtil okHttpUtil; private OkHttpUtil okHttpUtil;
private final String app_key = "app_slrs"; private final String app_key = "app_slrs";
private final String app_secret = "wj5iDTqyguQCxnsoo5VU21BoRSZqevhI"; private final String app_secret = "Fxi5LHbI5yGbQQDpVp86GcCdXeC5Bjfe";
private final String access_url = "http://testsso1.foton.com.cn/oauth2.0/accessTokenByJson"; private final String access_url = "http://sso.foton.com.cn/oauth2.0/accessTokenByJson";
private final String profile_ur = "http://testsso1.foton.com.cn/oauth2.0/profileByJson"; private final String profile_ur = "http://sso.foton.com.cn/oauth2.0/profileByJson";
private final String redirect_url = "http://127.0.0.1:9090"; private final String redirect_url = "https://srms.foton.com.cn";
public String idmLogin(String code){ public String idmLogin(String code){
try{ try{
@@ -66,6 +66,7 @@ public class IDMUtil {
} }
}catch(Exception e){ }catch(Exception e){
log.error("单点登录获取用户信息失败"); log.error("单点登录获取用户信息失败");
e.printStackTrace();
} }
return ""; return "";
} }