更新
This commit is contained in:
parent
51bebab4fd
commit
d596cac85a
@ -116,9 +116,9 @@ class StoreCartRepository extends BaseRepository
|
||||
* @param $uid
|
||||
* @author Qinii
|
||||
*/
|
||||
public function getCartByProductSku($sku, $uid, $product_type = 0)
|
||||
public function getCartByProductSku($sku, $uid, $product_type = 0,$source=0)
|
||||
{
|
||||
$where = ['is_del' => 0, 'is_fail' => 0, 'is_new' => 0, 'is_pay' => 0, 'uid' => $uid, 'product_type' => $product_type, 'product_attr_unique' => $sku];
|
||||
$where = ['is_del' => 0, 'is_fail' => 0, 'is_new' => 0, 'is_pay' => 0, 'uid' => $uid, 'product_type' => $product_type, 'product_attr_unique' => $sku,'source'=>$source];
|
||||
return ($this->dao->getWhere($where));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user