...
|
...
|
@@ -150,12 +150,14 @@ class DetailController extends AbstractAction |
|
|
}
|
|
|
$this->setTitle('购买咨询');
|
|
|
|
|
|
$consults = \Product\DetailModel::getConsults($productId);
|
|
|
$data = array(
|
|
|
'goodsConsultsPage' => true,
|
|
|
'pageFooter' => true,
|
|
|
'consults' => array(
|
|
|
'list' => \Product\DetailModel::getConsults($productId),
|
|
|
'list' => $consults
|
|
|
),
|
|
|
'showReadMore' => count($consults) > 2,
|
|
|
'link' => Helpers::url('/product/detail/consultform', array('product_id' => $productId)),
|
|
|
);
|
|
|
|
...
|
...
|
|