修复未登录状态下购物车不能编辑的bug
Code Review By Rock Zhang
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -261,7 +261,7 @@ class IndexController extends AbstractAction | @@ -261,7 +261,7 @@ class IndexController extends AbstractAction | ||
261 | $result = array(); | 261 | $result = array(); |
262 | 262 | ||
263 | if ($this->isAjax()) { | 263 | if ($this->isAjax()) { |
264 | - $shoppingKey = $this->getSession('shoppingKey'); | 264 | + $shoppingKey = Helpers::getShoppingKeyByCookie(); |
265 | $uid = $this->getUid(true); | 265 | $uid = $this->getUid(true); |
266 | 266 | ||
267 | $params = array(); | 267 | $params = array(); |
-
Please register or login to post a comment