Authored by 陈轩

Merge remote-tracking branch 'origin/release/5.1' into release/5.1

@@ -203,8 +203,8 @@ $.extend({ @@ -203,8 +203,8 @@ $.extend({
203 $footer.removeClass('hide'); 203 $footer.removeClass('hide');
204 204
205 // 接受微信商城或者第三方来源的数据埋点信息 205 // 接受微信商城或者第三方来源的数据埋点信息
206 - if (queryString().union_type) {  
207 - setCookie('union_type', queryString().union_type); 206 + if (queryString().mkt_code) {
  207 + setCookie('mkt_code', queryString().mkt_code);
208 } 208 }
209 209
210 }()); 210 }());
@@ -232,7 +232,7 @@ $.extend({ @@ -232,7 +232,7 @@ $.extend({
232 window._ozuid = uid;// 暴露ozuid 232 window._ozuid = uid;// 暴露ozuid
233 233
234 if (window._yas) { 234 if (window._yas) {
235 - window._yas(1 * new Date(), '1.0.17', 'yohobuy_m', uid, '', ''); 235 + window._yas(1 * new Date(), '1.0.18', 'yohobuy_m', uid, '', '');
236 } 236 }
237 }()); 237 }());
238 238
@@ -19,7 +19,7 @@ function downLoadApp() { @@ -19,7 +19,7 @@ function downLoadApp() {
19 var clickedAt = new Date(); 19 var clickedAt = new Date();
20 20
21 setTimeout(function() { 21 setTimeout(function() {
22 - var mkt = window.queryString.union_type || window.cookie('union_type') || false; 22 + var mkt = window.queryString.mkt_code || window.cookie('mkt_code') || false;
23 23
24 if ((new Date()) - clickedAt < 2000) { 24 if ((new Date()) - clickedAt < 2000) {
25 if (mkt) { 25 if (mkt) {