Authored by Rock Zhang

修复限购商品跳转的bug

@@ -344,6 +344,7 @@ class CartModel @@ -344,6 +344,7 @@ class CartModel
344 ) 344 )
345 )); 345 ));
346 346
  347 + $result['skn'] = $skn;
347 $result['isLimit'] = true; 348 $result['isLimit'] = true;
348 } 349 }
349 350
@@ -321,7 +321,7 @@ class IndexController extends AbstractAction @@ -321,7 +321,7 @@ class IndexController extends AbstractAction
321 321
322 // 限购商品时更换返回按钮地址 322 // 限购商品时更换返回按钮地址
323 if (isset($order['isLimit'])) { 323 if (isset($order['isLimit'])) {
324 - $returnUrl = Helpers::url('/product/show_' . $skn . '.html');; 324 + $returnUrl = Helpers::url('/product/show_' . $order['skn'] . '.html');;
325 } 325 }
326 326
327 $data = array( 327 $data = array(