0

我必须这样做:就像在谷歌和许多其他网站一样..

我当前的 ULR 1 是: https ://play.google.com/store/apps/details?id=com.ruanshaomin.game&feature=search_result&rdid=com.ruanshaomin.game&rdot=1

当我点击登录然后 URL 改变像这样... URL 2 https://accounts.google.com/ServiceLogin?service=googleplay&passive=1209600&continue=https://play.google.com/store/apps/details?id%3Dcom.ruanshaomin.game%26feature%3Dsearch_result%26rdid%3Dcom.ruanshaomin.game%26rdot%3D1&followup=https://play.google.com/store/apps/details?id%3Dcom.ruanshaomin.game%26feature%3Dsearch_result%26rdid%3Dcom.ruanshaomin.game%26rdot%3D1

当我成功登录时,它直接重定向到上面的链接(ULR 1)......我该怎么做......?

4

1 回答 1

1

javascript:

if(document.location.href.indexOf('continue')!=-1)
document.location = document.location.href.split('continue=')[1];

C#

if(!IsCallback && Request.QueryString["continue"] != null)
Response.Redirect(Request.QueryString["continue"].ToString());
于 2012-11-24T11:09:02.630 回答