feat: 添加搜索条件以排除特定用户等级

This commit is contained in:
mkm 2024-07-01 17:54:18 +08:00
parent fe70ce138d
commit 3ee02c6275

View File

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