修改店铺云商品列表的错误
This commit is contained in:
parent
ce49e1c2a4
commit
51194e5ed2
@ -142,8 +142,7 @@ class SpuRepository extends BaseRepository
|
||||
app()->make(UserVisitRepository::class)->searchProduct($userInfo ? $userInfo['uid'] : 0, $where['keyword'], (int)($where['mer_id'] ?? 0));
|
||||
}
|
||||
}
|
||||
$where['spu_status'] = 1;
|
||||
$where['mer_status'] = 1;
|
||||
$where = array_merge(Product::searchEnable(), $where);
|
||||
$query = $this->dao->search($where);
|
||||
|
||||
$query->with([
|
||||
|
Loading…
x
Reference in New Issue
Block a user