feat(UserShipLists): 修改用户船只列表查询条件
This commit is contained in:
parent
cfeebc8da1
commit
c93650acd1
@ -42,7 +42,7 @@ class UserShipLists extends BaseAdminDataLists
|
|||||||
if($this->request->__get('id')){
|
if($this->request->__get('id')){
|
||||||
$this->searchWhere[]=['id','in',[1,4]];
|
$this->searchWhere[]=['id','in',[1,4]];
|
||||||
}else{
|
}else{
|
||||||
$arr=['id'=>0,'title'=>'一般用户'];
|
$arr[]=['id'=>0,'title'=>'一般用户'];
|
||||||
}
|
}
|
||||||
$lists = UserShip::where($this->searchWhere)
|
$lists = UserShip::where($this->searchWhere)
|
||||||
->limit($this->limitOffset, $this->limitLength)
|
->limit($this->limitOffset, $this->limitLength)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user