新oa待办跳转到待办页面bug修复12

This commit is contained in:
wenlukang1 2025-07-01 14:47:32 +08:00
parent f6e44f6f7d
commit 23c23c90c9
1 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ public class SSOPluginLogin implements ThirdSSOAuthHandler {
queryUrl = Base64.getEncoder().encodeToString(queryUrl.getBytes(StandardCharsets.UTF_8));
String skUrl = RevProxyUtil.getURLContextPath(httpServletRequest);
logger.info("callTrdSSOLogin→getURLContextPath" + skUrl);
String redirect = skIP + "/index.html?param=" + queryUrl;
String redirect = "http://127.0.0.1:8881/ierp" + "/index.html?param=" + queryUrl;
logger.info("callTrdSSOLogin→skip" + redirect);
//重定向的统一认证的地址 获取授权码
ssourl = String.format("%s/sso2/authCenter/authorize?client_id=%s&response_type=code&sessionKeep=true&authType=0&redirect_uri=%s",
@ -136,7 +136,7 @@ public class SSOPluginLogin implements ThirdSSOAuthHandler {
}
}
//二次重定向进入解
if (StringUtils.isNotEmpty(code) && StringUtils.isNotEmpty(sessionId) ) {
if (StringUtils.isNotEmpty(code) && StringUtils.isEmpty(sessionId) ) {
//调用EOSS获取token接口
String access_token = AuthService.accessToken(code, ip, client, secret);
logger.info(String.format("getTrdSSOAuth→accessToken返回数据%s", access_token));