...
|
...
|
@@ -121,11 +121,11 @@ class DetailModel |
|
|
$build['answer'] = $value['answer'];
|
|
|
$result['feedbacks']['consults'][] = $build;
|
|
|
}
|
|
|
$result['feedbacks']['link'] = Helpers::url('/product/detail/consults', array('product_id' => $productId, 'total' => $result['feedbacks']['consultsNum']));
|
|
|
$result['feedbacks']['consultsUrl'] = Helpers::url('/product/detail/consults', array('product_id' => $productId, 'total' => $result['feedbacks']['consultsNum']));
|
|
|
}
|
|
|
// 暂无咨询
|
|
|
else {
|
|
|
$result['feedbacks']['link'] = Helpers::url('/product/detail/consultform', array('product_id' => $productId));
|
|
|
$result['feedbacks']['consultsUrl'] = Helpers::url('/product/detail/consultform', array('product_id' => $productId));
|
|
|
}
|
|
|
|
|
|
// 商品评价
|
...
|
...
|
@@ -141,8 +141,8 @@ class DetailModel |
|
|
$build['time'] = $value['createTime'];
|
|
|
$result['feedbacks']['comments'][] = $build;
|
|
|
}
|
|
|
//$result['feedbacks']['link'] = Helpers::url('/product/detail/comments', array('product_id' => $productId, 'total' => $result['feedbacks']['commentsNum']));
|
|
|
}
|
|
|
$result['feedbacks']['commentsUrl'] = Helpers::url('/product/detail/comments', array('product_id' => $productId, 'total' => $result['feedbacks']['commentsNum']));
|
|
|
}
|
|
|
|
|
|
// 品牌信息
|
|
|
if (!empty($baseInfo['brand'])) {
|
...
|
...
|
|