Merge pull request 'feat(CateLists): 更新商品分类列表搜索逻辑,移除库存筛选条件,优化搜索性能' (#109) from dev into main
Reviewed-on: #109
This commit is contained in:
commit
ce9fb3da95
@ -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