更新
This commit is contained in:
parent
295eb05d0c
commit
43c0de00ab
@ -72,7 +72,7 @@ class StoreCartDao extends BaseDao
|
|||||||
public function getAll(int $uid,$product_type,$source=0)
|
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];
|
$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];
|
$where=['uid' => $uid, 'is_del' => 0, 'is_new' => 0, 'is_pay' => 0,'source'=>$source];
|
||||||
}
|
}
|
||||||
$query = ($this->getModel())::where($where)
|
$query = ($this->getModel())::where($where)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user