...
|
...
|
@@ -30,7 +30,7 @@ function doPassportCallback(req, res, user) { |
|
|
let shoppingKey = cookie.getShoppingKey(req);
|
|
|
let refer = cookie.getRefer(req, config.siteUrl);
|
|
|
|
|
|
// 包括多重跳转的问题,把需要跳转的链接拿出来
|
|
|
// 第三方登录不能正确跳转:把需要跳转的链接拿出来
|
|
|
// 形如:http://www.yohobuy.com/signin.html?refer=http://item.yohobuy.com/
|
|
|
// product/pro_550930_682618/CLING6970071800516ZhiNengXinLvYunDongShouHuanVOC.html?from=search-s-CLING_1_8'
|
|
|
if (_.includes(refer, 'refer=')) {
|
...
|
...
|
|