Authored by hf

code review by hf: fixes bug to add shopping to cart

@@ -457,7 +457,7 @@ class IndexController extends AbstractAction @@ -457,7 +457,7 @@ class IndexController extends AbstractAction
457 457
458 // 设置加入购物车凭证到客户端浏览器 458 // 设置加入购物车凭证到客户端浏览器
459 if (!$shoppingKey && isset($result['data']['shopping_key'])) { 459 if (!$shoppingKey && isset($result['data']['shopping_key'])) {
460 - $this->setCookie('_spk', $result['data']['shopping_key']); 460 + $this->setCookie('_Spk', $result['data']['shopping_key']);
461 } 461 }
462 } 462 }
463 463