Showing
1 changed file
with
2 additions
and
0 deletions
@@ -425,6 +425,7 @@ exports.isLogin = (req, res, next) => { | @@ -425,6 +425,7 @@ exports.isLogin = (req, res, next) => { | ||
425 | if (yoho.isApp) { | 425 | if (yoho.isApp) { |
426 | if (!yoho.isLogin) { | 426 | if (!yoho.isLogin) { |
427 | url = url + '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' + yoho.http + '//m.yohobuy.com/activity/student/register","antarget":"1"}}}'; | 427 | url = url + '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' + yoho.http + '//m.yohobuy.com/activity/student/register","antarget":"1"}}}'; |
428 | + console.log(url); | ||
428 | res.redirect(url); | 429 | res.redirect(url); |
429 | } | 430 | } |
430 | } | 431 | } |
@@ -433,6 +434,7 @@ exports.isLogin = (req, res, next) => { | @@ -433,6 +434,7 @@ exports.isLogin = (req, res, next) => { | ||
433 | // if (req.path === '/student/register' && !yoho.isStudent) { | 434 | // if (req.path === '/student/register' && !yoho.isStudent) { |
434 | // url = '/activity/student/register'; | 435 | // url = '/activity/student/register'; |
435 | // } | 436 | // } |
437 | + console.log("aaa"); | ||
436 | res.redirect(helpers.urlFormat('/signin.html', { | 438 | res.redirect(helpers.urlFormat('/signin.html', { |
437 | refer: url | 439 | refer: url |
438 | })); | 440 | })); |
-
Please register or login to post a comment