|
@@ -202,6 +202,9 @@ class Goods extends Common
|
|
$goods['content'] = $content;
|
|
$goods['content'] = $content;
|
|
unset($goods['new_sku_prices']);
|
|
unset($goods['new_sku_prices']);
|
|
|
|
|
|
|
|
+ //评价数量
|
|
|
|
+ $goods['comment_number'] = Db::name('shopro_goods_comment')->where('goods_id',$id)->where('status','normal')->where('deletetime',NULL)->count('id');
|
|
|
|
+
|
|
$this->success('获取成功', $goods);
|
|
$this->success('获取成功', $goods);
|
|
}
|
|
}
|
|
|
|
|