feat: 添加根据购买类别offer的列表搜索功能
This commit is contained in:
parent
9404e27503
commit
53d69e5f7c
@ -50,6 +50,12 @@ class OpurchaseclassofferLists extends BaseAdminDataLists implements ListsSearch
|
||||
$where=[];
|
||||
$is_mer=$this->request->get('is_mer',0);
|
||||
$id=$this->request->get('id',0);
|
||||
$type=$this->request->get('type','all');
|
||||
if($type==1){
|
||||
$where[]=['is_adopt','=',0];
|
||||
}elseif($type==2){
|
||||
$where[]=['is_adopt','=',1];
|
||||
}
|
||||
if($id){
|
||||
$where[]=['order_id','=',$id];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user