Authored by zzzzzzz

收藏bug

... ... @@ -174,14 +174,9 @@ const favfavBrand = (uid, page, limit) => {
link: '/product/pro_' + data.productId + '_' +
data.goods[0].id + '/' + data.cnAlphabet + '.html',
imgUrl: data.defaultImages,
price: '¥' + data.marketPrice
price: '¥' + data.marketPrice,
discount: data.marketPrice > data.salesPrice ? '¥' + data.salesPrice : false,
});
if (data.marketPrice > data.salesPrice) {
obj.productList.push({
discount: '¥' + data.salesPrice
});
}
});
resu.hasFavBrand.push(obj);
... ...