From 53d69e5f7cfa5a8456b88b4795d5d0e94d40bfcf Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Fri, 24 May 2024 18:22:28 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E6=A0=B9=E6=8D=AE?= =?UTF-8?q?=E8=B4=AD=E4=B9=B0=E7=B1=BB=E5=88=ABoffer=E7=9A=84=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E6=90=9C=E7=B4=A2=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin/lists/operation/OpurchaseclassofferLists.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/admin/lists/operation/OpurchaseclassofferLists.php b/app/admin/lists/operation/OpurchaseclassofferLists.php index 46c7d20..a33f5d2 100644 --- a/app/admin/lists/operation/OpurchaseclassofferLists.php +++ b/app/admin/lists/operation/OpurchaseclassofferLists.php @@ -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]; }