@@ -101,7 +101,9 @@ public class SecurityController {
// 跨域代理界面
redirectUrl = request.getContextPath() + "/login/proxy";
}*/
- return new ModelMap("content", redirectUrl);
+ ModelMap map = new ModelMap("content", redirectUrl);
+ map.put("baseUrl","/login/other");
+ return map;
}
/**
* 获取跳转注册的url
@@ -217,7 +217,7 @@ define([ 'angular', 'common/utils', 'big'], function(angular, utils, Big) {
}).success(function(data) {
if (data.content) {
- window.location.href = data.content;
+ window.location.href = data.content+'&baseUrl='+ encodeURIComponent( rootPath+ data.baseUrl);
} else {
alert('系统错误');