feat: 增加对ProductLists.php的异常情况处理
This commit is contained in:
parent
4ef2a02134
commit
2ecb52ca97
@ -91,8 +91,9 @@ class ProductLists extends BaseAdminDataLists implements ListsSearchInterface
|
||||
$where[]=['cate_id','in',array_merge($arr,$arr2)];
|
||||
}
|
||||
}else{
|
||||
$where[]=['cate_id','=',$cate_id];
|
||||
|
||||
if($cate_id){
|
||||
$where[]=['cate_id','=',$cate_id];
|
||||
}
|
||||
}
|
||||
if(!empty($order_param)){
|
||||
if($order_param == 'asc'){
|
||||
|
Loading…
x
Reference in New Issue
Block a user