Commit 192393df by dabai

邀请分享

parent ada7f404
Showing with 13 additions and 0 deletions
......@@ -149,3 +149,15 @@ function lang(){
$('.iosDown').html(langList[langType].foot5);
}
function getRequest() {
var url = location.href;
var theRequest = new Object();
if (url.indexOf("?") != -1) {
var str = url.substr(url.indexOf("?") + 1);
strs = str.split("&");
for (var i = 0; i < strs.length; i++) {
theRequest[strs[i].split("=")[0]] = unescape(strs[i].split("=")[1]);
}
}
return theRequest;
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment