單點登錄分兩套係統
This commit is contained in:
parent
6c2141c0b1
commit
8c5e4e88c7
|
@ -42,7 +42,10 @@ public class SSOPluginLogin implements ThirdSSOAuthHandler {
|
|||
String ip;
|
||||
String client;
|
||||
String secret;
|
||||
if (httpServletRequest.getRequestURI().contains("isNew")) {
|
||||
|
||||
String queryUrl = httpServletRequest.getQueryString();
|
||||
String redirect = "http://10.1.7.83:8022/ierp/integration/yzjShareOpen.do?"+queryUrl;
|
||||
if (queryUrl.contains("isNew")) {
|
||||
ip = EOSS_IP2;
|
||||
client = CLIENT_ID2;
|
||||
secret = CLIENT_SECRET2;
|
||||
|
@ -86,7 +89,7 @@ public class SSOPluginLogin implements ThirdSSOAuthHandler {
|
|||
String ip;
|
||||
String client;
|
||||
String secret;
|
||||
if (httpServletRequest.getRequestURI().contains("isNew")) {
|
||||
if (httpServletRequest.getQueryString().contains("isNew")) {
|
||||
ip = EOSS_IP2;
|
||||
client = CLIENT_ID2;
|
||||
secret = CLIENT_SECRET2;
|
||||
|
|
Loading…
Reference in New Issue