...
|
...
|
@@ -176,8 +176,8 @@ class DetailController extends AbstractAction |
|
|
$result = array();
|
|
|
|
|
|
if ($this->isAjax()) {
|
|
|
$productId = $this->get('productId', 0);
|
|
|
$total = $this->get('total', 0);
|
|
|
$productId = $this->post('productId', 0);
|
|
|
$total = $this->post('total', 0);
|
|
|
$uid = $this->getUid();
|
|
|
$id = $this->post('id');
|
|
|
$result = \Product\DetailModel::upvoteConsult($uid, $id, $productId, $total);
|
...
|
...
|
@@ -194,8 +194,8 @@ class DetailController extends AbstractAction |
|
|
$result = array();
|
|
|
|
|
|
if ($this->isAjax()) {
|
|
|
$productId = $this->get('productId', 0);
|
|
|
$total = $this->get('total', 0);
|
|
|
$productId = $this->post('productId', 0);
|
|
|
$total = $this->post('total', 0);
|
|
|
$uid = $this->getUid();
|
|
|
$id = $this->post('id');
|
|
|
$result = \Product\DetailModel::usefulConsult($uid, $id, $productId, $total);
|
...
|
...
|
|