Authored by 阿达

更改跳转链接

@@ -224,7 +224,7 @@ function getNamedCoupon(activityId, couponId, isApp, userIsLogged) @@ -224,7 +224,7 @@ function getNamedCoupon(activityId, couponId, isApp, userIsLogged)
224 //showTip('请先登录!'); 224 //showTip('请先登录!');
225 //跳app登陆页面 225 //跳app登陆页面
226 if ($('.go-login').length <= 0) { 226 if ($('.go-login').length <= 0) {
227 - var loginUrl = location.href + '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' + location.href + '","param":{}},"priority":"Y"}}'; 227 + var loginUrl = location.href + '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' + location.href + '","param":{}},"requesturl":{"url":"'+ location.href +'"},"priority":"Y"}}';
228 console.log(loginUrl); 228 console.log(loginUrl);
229 $('body').append('<a href=\'' + loginUrl + '\' ><span class="go-login"></span></a>'); 229 $('body').append('<a href=\'' + loginUrl + '\' ><span class="go-login"></span></a>');
230 } 230 }