Authored by 郭成尧

Merge branch 'release/4.8' of git.yoho.cn:fe/YOHOBUYPC into release/4.8

... ... @@ -649,8 +649,8 @@ function addcart(data, cookieList) {
path: '/'
});
}
} else if (d.code === 500) {
new Alert(d.message).show();
} else {
new Alert(d.message === '' ? '加入购物车失败哦~~' : d.message).show();
}
});
}
... ...
... ... @@ -322,6 +322,8 @@ $addToCart.click(function() {
$('#balance').slideDown(SLIDETIME);
$('#cart-num').text(data.data.goods_count); //更新数目
} else {
new Alert(data.message === '' ? '加入购物车失败哦~~' : data.message).show();
}
});
});
... ...