request->__set('id',1); return $this->dataLists(new UserShipLists()); } public function is_user_ship(){ $data=$this->request->post(); UserShipLogic::user_ship($data); if(UserShipLogic::hasError()){ return $this->fail(UserShipLogic::getError()); }else{ return $this->success('ok'); } } }