|
|
@@ -345,7 +345,7 @@ export function Home() {
|
|
|
//测试环境
|
|
|
//const loginUrl = 'https://esctest.sribs.com.cn/esc-sso/oauth2.0/authorize?client_id=e97f94cf93761f4d69e8&response_type=code';
|
|
|
//生产环境
|
|
|
- const loginUrl = 'https://esc.sribs.com.cn/esc-sso/oauth2.0/authorize?client_id=e97f94cf93761f4d69e8&response_type=code';
|
|
|
+ const loginUrl = 'http://esc.sribs.com.cn:8080/esc-sso/oauth2.0/authorize?client_id=e97f94cf93761f4d69e8&response_type=code';
|
|
|
const externalLoginUrl = loginUrl + `&redirect_uri=${encodeURIComponent(originUrl)}&state=${encodeURIComponent(fullUrl)}`;
|
|
|
if (!userInfo) {
|
|
|
window.open(externalLoginUrl, '_self');
|