|
|
|
@ -11,7 +11,10 @@ export function toLoginPage() { |
|
|
|
let uriComponent = "http://172.20.46.177/epmet-oper-gov/#/login_sdt"; |
|
|
|
let redirect_url = encodeURIComponent(uriComponent); |
|
|
|
let url = |
|
|
|
"http://59.206.205.195:80/oauth2/authorize?appid=wwafa1a3005a15a672&response_type=code&scope=SCOPE&agentid=1001091&state=STATE&redirect_uri=" + |
|
|
|
redirect_url; |
|
|
|
// 山东通测试
|
|
|
|
// "http://59.206.205.195:80/oauth2/authorize?appid=wwafa1a3005a15a672&response_type=code&scope=SCOPE&agentid=1001091&state=STATE&redirect_uri=" + redirect_url;
|
|
|
|
|
|
|
|
// 山东通生产
|
|
|
|
"http://59.206.205.195:9080/oauth2/authorize?appid=ww2389532372dc6805&response_type=code&scope=SCOPE&agentid=1000978&state=STATE&redirect_uri=" + redirect_url; |
|
|
|
window.open(url, "_self"); |
|
|
|
} |
|
|
|
|