Showing
1 changed file
with
1 additions
and
1 deletions
@@ -11,7 +11,7 @@ module.exports = (req, res, next) => { | @@ -11,7 +11,7 @@ module.exports = (req, res, next) => { | ||
11 | referrer = urlFormat(req.originalUrl || '/', null, 'activity'); | 11 | referrer = urlFormat(req.originalUrl || '/', null, 'activity'); |
12 | 12 | ||
13 | if (req.isAPP && !req.app.uid) { | 13 | if (req.isAPP && !req.app.uid) { |
14 | - 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登录页 | 14 | + return res.redirect(loginUrl + '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' + referrer + '","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"N"}}'); // 跳转APP登录页 |
15 | } | 15 | } |
16 | 16 | ||
17 | if (!req.cookies._UID) { | 17 | if (!req.cookies._UID) { |
-
Please register or login to post a comment