Commit 89ae61e5 by 宋毅

tj

parent bcc0ad18
...@@ -288,6 +288,7 @@ class tmqueryCtl extends CtlBase { ...@@ -288,6 +288,7 @@ class tmqueryCtl extends CtlBase {
async getJdUserInfo(pobj, qobj, req) { async getJdUserInfo(pobj, qobj, req) {
try { try {
// this.logClient.info("jd", "getUserInfo--info--->pobj:" + JSON.stringify(pobj)); // this.logClient.info("jd", "getUserInfo--info--->pobj:" + JSON.stringify(pobj));
req.session.userPinInfo = null;
if (req.session.userPinInfo) { if (req.session.userPinInfo) {
return system.getResultSuccess({ encryptChannelUserId: req.session.userPinInfo.encryptChannelUserId || "" }); return system.getResultSuccess({ encryptChannelUserId: req.session.userPinInfo.encryptChannelUserId || "" });
} }
......
...@@ -20,7 +20,7 @@ module.exports = function (app) { ...@@ -20,7 +20,7 @@ module.exports = function (app) {
authToken: params.token_type + " " + params.access_token authToken: params.token_type + " " + params.access_token
}; };
var userItemResult = await tmqueryCtl.getJdUserInfo(getUserparams, req.query, req); var userItemResult = await tmqueryCtl.getJdUserInfo(getUserparams, req.query, req);
logClient.payLog("jd", { logClient.info("jd", {
optitle: "###获取京东用户结果...getJdUserInfo", optitle: "###获取京东用户结果...getJdUserInfo",
op: "/jdtm/getUser", op: "/jdtm/getUser",
content: "参数=" + JSON.stringify(getUserparams) + ",result=" + JSON.stringify(userItemResult), content: "参数=" + JSON.stringify(getUserparams) + ",result=" + JSON.stringify(userItemResult),
......
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