Symfony \ Component \ HttpKernel \ Exception \ NotFoundHttpException, но маршрут находится в маршруте: список - PullRequest
0 голосов
/ 30 ноября 2018

Я получаю следующее исключение,

"message": "",
    "exception": "Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException",
    "file": "/var/www/html/vhosts/wiseapi.hybse.com/vendor/laravel/framework/src/Illuminate/Routing/RouteCollection.php",
    "line": 179,

, но маршрут находится в маршруте: список

[1]: https://i.stack.imgur.com/gmIYN.png

/**
     * @SWG\Get(
     *   path="/wallet/action/deposit/wallet/{id}",
     *   summary="Returns deposit data for a given wallet",
     *   tags={"wallets - action"},
     *   security={{"token": {"wallet.transactionrequest.create"}}},
     *   @SWG\Parameter(
     *     description="the ID of the deposit target wallet",
     *     in="path",
     *     name="id",
     *     required=false,
     *     type="string"
     *   ),
     *   @SWG\Response(
     *     response=200,
     *     description="successful operation",
     *     @SWG\Schema(
     *       @SWG\Property(property="data", ref="#/definitions/DepositTargetResource")
     *     )
     *   ),
     *   @SWG\Response(response=400, description="Invalid request"),
     *   @SWG\Response(response=403, description="Forbidden"),
     *   @SWG\Response(response=404, description="Wallet not found"),
     *   @SWG\Response(response=422, description="Invalid request data")
     * )
     *
     * @param string $id
     * @param Request $request
     * @param GetDepositTarget $getDepositTarget
     * @return DepositTargetResource|JsonApiResource
     * @throws UnknownCurrencyException
     */
    public function getDepositTarget(string $id, Request $request, GetDepositTarget $getDepositTarget)
    {

Я не смог найти решение для этого исключения. Пожалуйста, помогите мне.Заранее спасибо.

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...