提交 b8a94985 编写于 作者: S st

[登录]增加url x-token 登录

上级 cfbaac02
......@@ -437,6 +437,14 @@ o2.addReady(function () {
_loadContent();
})(layout);
};
//修改支持x-token
var uri = new URI(window.location.href);
var options = uri.get("data");
if(options["x-token"]){
Cookie.write("x-token", options["x-token"]);
}
//先判断用户是否登录
o2.Actions.get("x_organization_assemble_authentication").getAuthentication(function (json) {
//已经登录
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册