Authored by htoooth

Merge remote-tracking branch 'origin/hotfix/cart' into hotfix/12817

... ... @@ -324,20 +324,12 @@ $addToCart.click(function() {
}
}).then(function(data) {
var code = data.code;
var strK;
if (code === 200) {
$('#type-chose').slideUp(SLIDETIME);
$('#balance').slideDown(SLIDETIME);
$('#cart-num').text(data.data.goods_count); // 更新数目
strK = '{"_k":"' + data.data._k + '","_nac":0' + ',"_ac":0,"_r":0}'; //eslint-disable-line
window.setCookie('_g', strK, {
path: '/',
domain: '.yohobuy.com'
});
}
});
});
... ...