This commit is contained in:
liu 2024-07-02 14:42:58 +08:00
commit 9bd450ce1b

View File

@ -42,7 +42,10 @@ class UserShipLists extends BaseAdminDataLists
if(!$this->request->__get('id')){
$arr[]=['id'=>0,'title'=>'一般用户','limit'=>0];
}
$this->searchWhere[]=['id','<>',4];
$type_id=$this->request->get('type_id',0);
if($type_id!=4){
$this->searchWhere[]=['id','<>',4];
}
$lists = UserShip::where($this->searchWhere)
->limit($this->limitOffset, $this->limitLength)
->field($field)