Authored by 郭成尧

uid拼接

... ... @@ -30,12 +30,14 @@ function getUrlParam(name) {
$receive.on('click', function() {
var $curDom = $(this),
req;
req = '';
if (getUrlParam('app_version')) {
req = '&app_version=' + getUrlParam('app_version');
} else {
req = '';
req += '&app_version=' + getUrlParam('app_version');
}
if (getUrlParam('uid')) {
req += '&uid=' + getUrlParam('uid');
}
$.ajax({
... ... @@ -48,6 +50,8 @@ $receive.on('click', function() {
var msg = data.msg,
status = data.status,
newUrl = data.url + '?code=' + getUrlParam('code');
if (data.isApp === true) {
newUrl = data.url;
}
... ...