Authored by 郭成尧

link

... ... @@ -49,16 +49,12 @@ class favoriteIndexModel extends global.yoho.BaseModel {
_.forEach(list.data.productList, function(val) {
let obj = {};
// if (empty(val.productSkn)) {
// continue;
// }
if (val.goodsId && val.cnAlphabet) {
obj = _.assign(obj, {
if (val.productSkn) {
_.assign(obj, {
link: config.siteUrl + '/product/' + val.productSkn + '.html' // 商品url改版
});
} else {
obj = _.assign(obj, {
_.assign(obj, {
link: ''
});
}
... ...