Authored by Rock Zhang

修复有货币banner链接缺失的bug

Code Review By Rock Zhang
@@ -176,8 +176,8 @@ class DetailController extends AbstractAction @@ -176,8 +176,8 @@ class DetailController extends AbstractAction
176 $result = array(); 176 $result = array();
177 177
178 if ($this->isAjax()) { 178 if ($this->isAjax()) {
179 - $productId = $this->get('productId', 0);  
180 - $total = $this->get('total', 0); 179 + $productId = $this->post('productId', 0);
  180 + $total = $this->post('total', 0);
181 $uid = $this->getUid(); 181 $uid = $this->getUid();
182 $id = $this->post('id'); 182 $id = $this->post('id');
183 $result = \Product\DetailModel::upvoteConsult($uid, $id, $productId, $total); 183 $result = \Product\DetailModel::upvoteConsult($uid, $id, $productId, $total);
@@ -194,8 +194,8 @@ class DetailController extends AbstractAction @@ -194,8 +194,8 @@ class DetailController extends AbstractAction
194 $result = array(); 194 $result = array();
195 195
196 if ($this->isAjax()) { 196 if ($this->isAjax()) {
197 - $productId = $this->get('productId', 0);  
198 - $total = $this->get('total', 0); 197 + $productId = $this->post('productId', 0);
  198 + $total = $this->post('total', 0);
199 $uid = $this->getUid(); 199 $uid = $this->getUid();
200 $id = $this->post('id'); 200 $id = $this->post('id');
201 $result = \Product\DetailModel::usefulConsult($uid, $id, $productId, $total); 201 $result = \Product\DetailModel::usefulConsult($uid, $id, $productId, $total);