Authored by 郝肖肖

'评论数生成'

@@ -2,11 +2,19 @@ @@ -2,11 +2,19 @@
2 2
3 const baiduBrand = { 3 const baiduBrand = {
4 1: { 4 1: {
5 - yoho: '', 5 + yoho: '上衣',
6 baidu: '' 6 baidu: ''
7 }, 7 },
8 - 999: {  
9 - yoho: '', 8 + 3: {
  9 + yoho: '裤装',
  10 + baidu: ''
  11 + },
  12 + 4: {
  13 + yoho: '裙装',
  14 + baidu: ''
  15 + },
  16 + 6: {
  17 + yoho: '鞋靴',
10 baidu: '' 18 baidu: ''
11 } 19 }
12 }; 20 };
@@ -95,7 +95,7 @@ class SeoIndexModel extends global.yoho.BaseModel { @@ -95,7 +95,7 @@ class SeoIndexModel extends global.yoho.BaseModel {
95 isOverseas: item.is_global === 'N' ? 1 : 0, 95 isOverseas: item.is_global === 'N' ? 1 : 0,
96 discount: '', // 优惠信息 96 discount: '', // 优惠信息
97 isFreightFree: 1, 97 isFreightFree: 1,
98 - commentCount: '', // 评论总数 98 + commentCount: item.product_skn % 50, // 评论总数
99 deliveryPlace: { 99 deliveryPlace: {
100 administrativeAreaLv1: '江苏' // 发货地 100 administrativeAreaLv1: '江苏' // 发货地
101 }, 101 },