更新随机查询
This commit is contained in:
parent
8937835bbc
commit
3f23292dc7
@ -164,7 +164,7 @@ class SpuRepository extends BaseRepository
|
|||||||
return compact('count', 'list');
|
return compact('count', 'list');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getApiCloudSearch($where, $page, $limit, $rand = false)
|
public function getApiCloudSearch($where, $page, $limit, $rand = true)
|
||||||
{
|
{
|
||||||
$where = array_merge(Product::searchEnable(), $where);
|
$where = array_merge(Product::searchEnable(), $where);
|
||||||
if (!empty($where['keyword'])) {
|
if (!empty($where['keyword'])) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user