Merge branch 'master' of git.yoho.cn:yoho30/yohobuy-union
Showing
1 changed file
with
5 additions
and
2 deletions
@@ -43,11 +43,11 @@ | @@ -43,11 +43,11 @@ | ||
43 | a.async = 1; | 43 | a.async = 1; |
44 | a.src = j; | 44 | a.src = j; |
45 | m.parentNode.insertBefore(a, m); | 45 | m.parentNode.insertBefore(a, m); |
46 | - }(window, document, 'script', (document.location.protocol === 'https:' ? 'https:' : 'http:') + '//cdn.yoho.cn/yas-jssdk/2.3.4/yas.js', '_yas')); | 46 | + }(window, document, 'script', (document.location.protocol === 'https:' ? 'https:' : 'http:') + '//cdn.yoho.cn/yas-jssdk/2.3.5/yas.js', '_yas')); |
47 | 47 | ||
48 | (function() { | 48 | (function() { |
49 | if (window._yas) { | 49 | if (window._yas) { |
50 | - window._yas(1 * new Date(), '2.3.4', 'yohobuy_m', '', '', ''); | 50 | + window._yas(1 * new Date(), '2.3.5', 'yohobuy_m', '', '', ''); |
51 | } | 51 | } |
52 | }()); | 52 | }()); |
53 | 53 | ||
@@ -63,6 +63,9 @@ | @@ -63,6 +63,9 @@ | ||
63 | return str == null ? "" : str; | 63 | return str == null ? "" : str; |
64 | } | 64 | } |
65 | var activityCode = getQueryStr("code"); | 65 | var activityCode = getQueryStr("code"); |
66 | + if (activityCode == ""){ | ||
67 | + activityCode = getQueryStr("union_type"); | ||
68 | + } | ||
66 | var activityData = null; | 69 | var activityData = null; |
67 | 70 | ||
68 | let search = window.location.search; | 71 | let search = window.location.search; |
-
Please register or login to post a comment