feat: 添加根据购买类别offer的列表搜索功能

This commit is contained in:
mkm 2024-05-24 18:22:28 +08:00
parent 9404e27503
commit 53d69e5f7c

View File

@ -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];
}