Authored by 毕凯

更新跳转地址

@@ -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) {