feat(UserShipLists): 移除用户类型ID限制
This commit is contained in:
parent
125ffecb7e
commit
de64ba837c
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user