Authored by weiqingting

提交

@@ -114,6 +114,8 @@ module.exports = { @@ -114,6 +114,8 @@ module.exports = {
114 req.session.gray = cookie[0]; 114 req.session.gray = cookie[0];
115 result = { code: 200, message: "登录成功" }; 115 result = { code: 200, message: "登录成功" };
116 } 116 }
  117 + console.log(result);
  118 +
117 } else { 119 } else {
118 result = { code: 400, message: "该用户没有店铺" }; 120 result = { code: 400, message: "该用户没有店铺" };
119 } 121 }
@@ -114,6 +114,8 @@ module.exports = { @@ -114,6 +114,8 @@ module.exports = {
114 req.session.gray = cookie[0]; 114 req.session.gray = cookie[0];
115 result = { code: 200, message: "登录成功" }; 115 result = { code: 200, message: "登录成功" };
116 } 116 }
  117 + console.log(result);
  118 +
117 } else { 119 } else {
118 result = { code: 400, message: "该用户没有店铺" }; 120 result = { code: 400, message: "该用户没有店铺" };
119 } 121 }