Merge branch 'beta/wap' of http://git.dev.yoho.cn/web/yohobuywap into beta/wap
Showing
1 changed file
with
2 additions
and
2 deletions
@@ -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 | } |
-
Please register or login to post a comment