Authored by 郝肖肖

新版购物车开关

@@ -976,7 +976,7 @@ class HomeController extends AbstractAction @@ -976,7 +976,7 @@ class HomeController extends AbstractAction
976 } 976 }
977 977
978 // 如果新版开启,则跳到新版支付页 978 // 如果新版开启,则跳到新版支付页
979 - if ($this->getCacheBy('zookeeper:/wap/pay/newPay') === 'true') { 979 + /*if ($this->getCacheBy('zookeeper:/wap/pay/newPay') === 'true') {
980 header('Location: ' . Helpers::url('/home/orders/paynew', 980 header('Location: ' . Helpers::url('/home/orders/paynew',
981 array( 981 array(
982 'order_code' => $orderCode, 982 'order_code' => $orderCode,
@@ -984,7 +984,7 @@ class HomeController extends AbstractAction @@ -984,7 +984,7 @@ class HomeController extends AbstractAction
984 )) 984 ))
985 ); 985 );
986 exit(); 986 exit();
987 - } 987 + }*/
988 988
989 /* 判断订单信息是否存在 */ 989 /* 判断订单信息是否存在 */
990 $orderDetail = OrderModel::orderDetail($orderCode, $this->_uid, $this->_usession); 990 $orderDetail = OrderModel::orderDetail($orderCode, $this->_uid, $this->_usession);
@@ -51,7 +51,7 @@ class IndexController extends AbstractAction @@ -51,7 +51,7 @@ class IndexController extends AbstractAction
51 51
52 // 如果新版开启,则跳到新版购物车 52 // 如果新版开启,则跳到新版购物车
53 if ($this->getCacheBy('zookeeper:/wap/pay/newCart') === 'true') { 53 if ($this->getCacheBy('zookeeper:/wap/pay/newCart') === 'true') {
54 - header('Location: ' . Helpers::url('/cart/index/index', 54 + header('Location: ' . Helpers::url('/cart/index/new',
55 array( 55 array(
56 'refer' => $this->server('HTTP_REFERER', SITE_MAIN) 56 'refer' => $this->server('HTTP_REFERER', SITE_MAIN)
57 )) 57 ))