feat(UserShipLists): 移除用户类型ID限制

This commit is contained in:
mkm 2024-07-11 11:41:37 +08:00
parent 125ffecb7e
commit de64ba837c

View File

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