Authored by weiqingting

测试 uid

@@ -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 }));