...
|
...
|
@@ -14,9 +14,7 @@ module.exports = (req, res, next) => { |
|
|
referrer = referrer.split('?')[0];
|
|
|
loginUrl += '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' + referrer.replace(/\//g, '\\/') + '","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"N"}}';
|
|
|
|
|
|
return res.send('<br><br><br><br><br><br><br><br><br><br><br><br><a href=\'' + loginUrl + '\'>点击登录</a>');
|
|
|
|
|
|
// return res.redirect(loginUrl); // 跳转APP登录页
|
|
|
return res.redirect(loginUrl); // 跳转APP登录页
|
|
|
} else if (!req.isAPP && !req.cookies._UID) {
|
|
|
loginUrl = loginUrl + '?refer=' + encodeURIComponent(referrer);
|
|
|
|
...
|
...
|
|