code review by hf: fixes some bugs to merge code
Showing
1 changed file
with
0 additions
and
4 deletions
@@ -63,10 +63,6 @@ class CartModel | @@ -63,10 +63,6 @@ class CartModel | ||
63 | 63 | ||
64 | // 调用接口获取购物车的数据 | 64 | // 调用接口获取购物车的数据 |
65 | $cartData = CartData::cartData($uid, $shoppingKey); | 65 | $cartData = CartData::cartData($uid, $shoppingKey); |
66 | - // 当购物车为空时,用户也已经登录过, 再取一次 | ||
67 | - if (empty($cartData['data']) && is_numeric($uid) && !empty($shoppingKey)) { | ||
68 | - $cartData = CartData::cartData(0, $shoppingKey); | ||
69 | - } | ||
70 | 66 | ||
71 | // 处理普通购物车和预售购物车的数据 | 67 | // 处理普通购物车和预售购物车的数据 |
72 | do { | 68 | do { |
-
Please register or login to post a comment