...
|
...
|
@@ -11,7 +11,7 @@ module.exports = (req, res, next) => { |
|
|
referrer = urlFormat(req.originalUrl || '/', null, 'activity');
|
|
|
|
|
|
if (req.isAPP && !req.app.uid) {
|
|
|
return res.redirect(loginUrl + '?refer=' + encodeURIComponent(referrer) + '&openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' + referrer + '","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"N"}}'); // 跳转APP登录页
|
|
|
return res.redirect(loginUrl + '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' + referrer + '","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"N"}}'); // 跳转APP登录页
|
|
|
}
|
|
|
|
|
|
if (!req.cookies._UID) {
|
...
|
...
|
|