fix(login): 修复统一身份认证跳转URL配置

- 恢复生产环境IP地址配置 http://192.168.1.241
- 注释掉本地开发环境调试配置 localhost:81
- 保留生产环境正确的认证服务端口配置
- 确保重定向URL参数传递功能正常
This commit is contained in:
Gjm
2026-04-09 17:36:35 +08:00
parent ba4d30f048
commit a41891e528

View File

@@ -309,8 +309,8 @@ export default {
// 没有ticket且没有token跳转统一身份认证 // 没有ticket且没有token跳转统一身份认证
const isTs = true; const isTs = true;
if (isTs) { if (isTs) {
// window.location.href = 'http://192.168.1.241/login?redirect=/lig/oauth2/oauth2/application&appid=330b4ecb60c9a6802b957fe1e5a5ecd3&url=http%3A%2F%2F192.168.1.241%3A9000%2Flogin'+(this.redirect?'&ssUrl='+this.redirect:''); window.location.href = 'http://192.168.1.241/login?redirect=/lig/oauth2/oauth2/application&appid=330b4ecb60c9a6802b957fe1e5a5ecd3&url=http%3A%2F%2F192.168.1.241%3A9000%2Flogin'+(this.redirect?'&ssUrl='+this.redirect:'');
window.location.href = 'http://localhost:81/login?redirect=/lig/oauth2/oauth2/application&appid=330b4ecb60c9a6802b957fe1e5a5ecd3&url=http%3A%2F%2Flocalhost%3A80%2Flogin' + (this.redirect ? '&ssUrl=' + this.redirect : ''); // window.location.href = 'http://localhost:81/login?redirect=/lig/oauth2/oauth2/application&appid=330b4ecb60c9a6802b957fe1e5a5ecd3&url=http%3A%2F%2Flocalhost%3A80%2Flogin' + (this.redirect ? '&ssUrl=' + this.redirect : '');
} }
} else if (ticket && !token) { } else if (ticket && !token) {
// 有ticket但没有token请求登录 // 有ticket但没有token请求登录