diff --git a/app/common/dao/store/order/StoreCartDao.php b/app/common/dao/store/order/StoreCartDao.php index b3c58b25..25f117ea 100644 --- a/app/common/dao/store/order/StoreCartDao.php +++ b/app/common/dao/store/order/StoreCartDao.php @@ -72,7 +72,7 @@ class StoreCartDao extends BaseDao public function getAll(int $uid,$product_type,$source=0) { $where=['uid' => $uid, 'is_del' => 0, 'is_new' => 0, 'is_pay' => 0,'product_type' => $product_type,'source'=>$source]; - if($product_type==0 &&$source>0){ + if($source==103){ $where=['uid' => $uid, 'is_del' => 0, 'is_new' => 0, 'is_pay' => 0,'source'=>$source]; } $query = ($this->getModel())::where($where)