Authored by ccbikai(👎🏻🍜)

Merge remote-tracking branch 'origin/feature/cartPoint' into gray

... ... @@ -83,7 +83,7 @@ $('#likeBtn').on('touchstart', function() {
});
// 统计代码:用于统计用户加入或取消商品收藏的动作
if (window._yas) {
if (window._yas && window._yas.sendCustomInfo) {
window._yas.sendCustomInfo({
pd: productId,
fa: favorite
... ... @@ -99,7 +99,7 @@ $('#addtoCart').on('touchstart', function() {
chosePanel.show();
// 统计代码:用于统计用户加入购物车的动作
if (window._yas) {
if (window._yas && window._yas.sendCustomInfo) {
window._yas.sendCustomInfo({
pd: productId,
by: 1
... ...