...
|
...
|
@@ -109,8 +109,12 @@ module.exports = { |
|
|
id: data.shopsId
|
|
|
});
|
|
|
});
|
|
|
|
|
|
console.log("userInfo",userInfo);
|
|
|
req.session.user = userInfo;
|
|
|
|
|
|
if (cookie && cookie.length > 0) {
|
|
|
console.log("cookie",cookie[0]);
|
|
|
req.session.gray = cookie[0];
|
|
|
result = { code: 200, message: "登录成功" };
|
|
|
}
|
...
|
...
|
|