Authored by 梁志锋

yas HTTPS的处理

... ... @@ -99,7 +99,7 @@ function getShoppingKey() {
a.async = 1;
a.src = j;
m.parentNode.insertBefore(a, m);
})(window, document, 'script', '//cdn.yoho.cn/yas-jssdk/1.0.14/yas.js', '_yas');
})(window, document, 'script', ('https:' == document.location.protocol ? 'https' : 'http') + '://' + 'cdn.yoho.cn/yas-jssdk/1.0.17/yas.js', '_yas');
(function() {
var uid = getUid();
... ... @@ -109,7 +109,7 @@ function getShoppingKey() {
window._ozuid = uid; //暴露ozuid
if (window._yas) {
window._yas(1 * new Date(), '1.0.14', 'yohobuy_web', uid, '', '');
window._yas(1 * new Date(), '1.0.17', 'yohobuy_web', uid, '', '');
}
}());
... ...