pushCriteria(app(RequestCriteria::class)); } public function saveShieldCompany($data) { return $this->model->create($data); } public function getShieldCompany($uid) { return $this->model->where(['uid'=>$uid])->orderBy('id','desc')->get(); } public function delShieldCompany($id) { return $this->delete($id); } public function sheidCount($uid) { return $this->model->where(['uid'=>$uid])->count(); } public function getShield($where) { return $this->model->where($where)->first(); } }