diff --git a/app/common/lists/user/UserShipLists.php b/app/common/lists/user/UserShipLists.php index 4e3643d7f..5b4614510 100644 --- a/app/common/lists/user/UserShipLists.php +++ b/app/common/lists/user/UserShipLists.php @@ -42,7 +42,7 @@ class UserShipLists extends BaseAdminDataLists if($this->request->__get('id')){ $this->searchWhere[]=['id','in',[1,4]]; }else{ - $arr=['id'=>0,'title'=>'一般用户']; + $arr[]=['id'=>0,'title'=>'一般用户']; } $lists = UserShip::where($this->searchWhere) ->limit($this->limitOffset, $this->limitLength)