Commit 0b66bb7e by 宋毅

tj

parent ca5784f2
......@@ -176,7 +176,7 @@ class MetaCtl extends CtlBase {
}
}
console.log(".....................获取当前登录人的角色,进而获取权限,进而合并工具栏目.getRsConfig");
// console.log(".....................获取当前登录人的角色,进而获取权限,进而合并工具栏目.getRsConfig");
//获取当前登录人的角色,进而获取权限,进而合并工具栏目
for (var i = 0; i < cfg.config["rstree"].children.length; i++) {
var r = cfg.config["rstree"].children[i];
......@@ -270,7 +270,7 @@ class MetaCtl extends CtlBase {
}
}
console.log(".....................获取当前登录人的角色,进而获取权限,进而合并工具栏目.getRsConfig");
// console.log(".....................获取当前登录人的角色,进而获取权限,进而合并工具栏目.getRsConfig");
//获取当前登录人的角色,进而获取权限,进而合并工具栏目
for (var i = 0; i < cfg.config["rstree"].children.length; i++) {
var r = cfg.config["rstree"].children[i];
......
......@@ -168,6 +168,7 @@ class tmqueryCtl extends CtlBase {
return system.getResult(null, "authToken不能为空");
}
var result = await this.execClient.execPostJDTK("", authUrl, authToken);
console.log(result, "execPostJDTK............");
if (!result || !result.account) {
return system.getResult(null, "处理用户请求失败,msg:" + result.error_description);
}
......
......@@ -11,6 +11,7 @@ module.exports = function (app) {
return;
}
var getUserparams = {
actionProcess: "jd",
authUrl: "https://oauth2.jdcloud.com/userinfo",
authToken: params.token_type + " " + params.access_token
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment