feat: 添加搜索条件以排除特定用户等级
This commit is contained in:
parent
fe70ce138d
commit
3ee02c6275
@ -42,6 +42,7 @@ 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];
|
||||||
}
|
}
|
||||||
|
$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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user