Authored by 王水玲

Merge branch 'beta/wap' of http://git.dev.yoho.cn/web/yohobuywap into beta/wap

@@ -42,8 +42,8 @@ $receive.on('click', function() { @@ -42,8 +42,8 @@ $receive.on('click', function() {
42 status = data.status, 42 status = data.status,
43 newUrl; 43 newUrl;
44 44
45 - if (getUrlParam('app-version')) {  
46 - newUrl = data.url + '?code=' + getUrlParam('code') + '&app-version=' + getUrlParam('app-version'); 45 + if (getUrlParam('app_version')) {
  46 + newUrl = data.url + '?code=' + getUrlParam('code') + '&app_version=' + getUrlParam('app_version');
47 } else { 47 } else {
48 newUrl = data.url + '?code=' + getUrlParam('code'); 48 newUrl = data.url + '?code=' + getUrlParam('code');
49 } 49 }