/** * 获取指定节点下的帖子. * * @param $node_id * * @return \Dingo\Api\Http\Response */ public function indexByNodeId($node_id) { $this->topics->byNodeId($node_id); return $this->commonIndex(); }
/** * 获取指定节点下的帖子. * * @param $node_id * * @return \Dingo\Api\Http\Response */ public function indexByNodeId($node_id) { $this->repository->byNodeId($node_id); return $this->commonIndex(); }