...
|
...
|
@@ -196,11 +196,13 @@ const common = { |
|
|
domain: 'm.yohobuy.com'
|
|
|
});
|
|
|
|
|
|
if (req.session && req.session.reset) {
|
|
|
req.session.reset();
|
|
|
if (req.session && req.session.destroy) {
|
|
|
req.session.destroy(function() {
|
|
|
return next();
|
|
|
});
|
|
|
} else {
|
|
|
return next();
|
|
|
}
|
|
|
|
|
|
return next();
|
|
|
},
|
|
|
isLoginUser: (req, res, next) => {
|
|
|
// 微信里边已经登录的时候,不再跳转登录
|
...
|
...
|
|