Authored by lzhy

去掉打印

@@ -179,7 +179,7 @@ module.exports = { @@ -179,7 +179,7 @@ module.exports = {
179 if (item.platform_id == Iaccount.WEBSITE ){ 179 if (item.platform_id == Iaccount.WEBSITE ){
180 userInfo.right[item.path] = true; 180 userInfo.right[item.path] = true;
181 } 181 }
182 - }) 182 + });
183 // allRes.data.forEach(function (data) { 183 // allRes.data.forEach(function (data) {
184 // if (data.platform_id == Iaccount.WEBSITE) { 184 // if (data.platform_id == Iaccount.WEBSITE) {
185 // userInfo.right[data.path] = true; 185 // userInfo.right[data.path] = true;
@@ -200,10 +200,8 @@ module.exports = { @@ -200,10 +200,8 @@ module.exports = {
200 userInfo.passwordMsg = '密码已过期,请尽快修改'; 200 userInfo.passwordMsg = '密码已过期,请尽快修改';
201 } 201 }
202 console.log("enter getResourceByPid, passwordMsg: " + userInfo.passwordMsg); 202 console.log("enter getResourceByPid, passwordMsg: " + userInfo.passwordMsg);
  203 + console.log(req.session.user);
203 req.session.user = userInfo; 204 req.session.user = userInfo;
204 - console.log("===================")  
205 - console.log(cookie);  
206 - console.log("===================")  
207 if (cookie && cookie.length > 0) { 205 if (cookie && cookie.length > 0) {
208 req.session.gray = cookie[0]; 206 req.session.gray = cookie[0];
209 result = { code: 200, message: "登录成功" ,data:req.session.user,pwdComplexRate :IloginRes.data.pwdComplexRate}; 207 result = { code: 200, message: "登录成功" ,data:req.session.user,pwdComplexRate :IloginRes.data.pwdComplexRate};