...
|
...
|
@@ -425,6 +425,7 @@ exports.isLogin = (req, res, next) => { |
|
|
if (yoho.isApp) {
|
|
|
if (!yoho.isLogin) {
|
|
|
url = url + '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' + yoho.http + '//m.yohobuy.com/activity/student/register","antarget":"1"}}}';
|
|
|
console.log(url);
|
|
|
res.redirect(url);
|
|
|
}
|
|
|
}
|
...
|
...
|
@@ -433,6 +434,7 @@ exports.isLogin = (req, res, next) => { |
|
|
// if (req.path === '/student/register' && !yoho.isStudent) {
|
|
|
// url = '/activity/student/register';
|
|
|
// }
|
|
|
console.log("aaa");
|
|
|
res.redirect(helpers.urlFormat('/signin.html', {
|
|
|
refer: url
|
|
|
}));
|
...
|
...
|
|