Authored by OF1706

厂家颜色接口

... ... @@ -166,7 +166,7 @@ const indexComment = (req, res, next) => {
DEFAULT_AVATAR_ICO,
userName: _.get(item, 'userInfo.nickName', ''),
date: moment(item.createTime, 'X').format('YYYY-MM-DD HH:mm:ss'),
color: _.get(item, 'goods.color_name', ''),
color: _.get(item, 'goods.factory_goods_name', ''),
size: _.get(item, 'goods.size_name', ''),
comment: item.content,
total: pageResponse.totalCount,
... ...
... ... @@ -562,7 +562,7 @@ const _getBasicDescription = (productDescBo) => {
},
{
key: '颜色',
value: productDescBo.colorName,
value: productDescBo.factoryGoodsName,
dColor: true
},
{
... ...
... ... @@ -229,7 +229,7 @@
<a href="\{{product_url}}">\{{product_name}}</a>
</p>
<p>
颜色:<span title="\{{color_name}}">\{{color_name}}</span>
颜色:<span title="\{{factory_goods_name}}">\{{factory_goods_name}}</span>
尺码:\{{size_name}}
</p>
</div>
... ...