feat(CateLists): 更新商品分类列表搜索逻辑,移除库存筛选条件,优化搜索性能
This commit is contained in:
parent
86de33cd04
commit
780248aff4
@ -46,7 +46,7 @@ class CateLists extends BaseAdminDataLists implements ListsSearchInterface
|
||||
{
|
||||
$level = Request()->get('level', 1);
|
||||
$pid = $this->request->get('pid',0);
|
||||
$this->searchWhere[] = ['stock', '>', 0];
|
||||
// $this->searchWhere[] = ['stock', '>', 0];
|
||||
$this->searchWhere[] = ['status', '=', 1];
|
||||
if($pid && $level ==2){
|
||||
$this->searchWhere[] = ['top_cate_id','=',$pid];
|
||||
|
Loading…
x
Reference in New Issue
Block a user