code review by hf: fixes bug to add shopping to cart
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -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 |
-
Please register or login to post a comment