dever 6 years ago
parent
commit
73c064d1f4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      product/src/Api.php

+ 1 - 1
product/src/Api.php

@@ -96,7 +96,7 @@ class Api extends Base
                 $name[] = $product['name'];
             }
 
-            $cart = Dever::db('product/cart')->state(array('product_id' => $v, 'uid' => $this->data['uid']);
+            $cart = Dever::db('product/cart')->state(array('product_id' => $v, 'uid' => $this->data['uid']));
             if ($cart) {
                 foreach ($cart as $k1 => $v1) {
                     Dever::db('product/cart')->delete($v1['id']);