Authored by lzhy

增加日志

... ... @@ -200,8 +200,10 @@ module.exports = {
userInfo.passwordMsg = '密码已过期,请尽快修改';
}
console.log("enter getResourceByPid, passwordMsg: " + userInfo.passwordMsg);
console.log(req.session.user);
req.session.user = userInfo;
console.log("===================")
console.log(cookie);
console.log("===================")
if (cookie && cookie.length > 0) {
req.session.gray = cookie[0];
result = { code: 200, message: "登录成功" ,data:req.session.user,pwdComplexRate :IloginRes.data.pwdComplexRate};
... ...