获取 URL 失败
app('Dingo\Api\Routing\UrlGenerator')->version('v1')->route('dingo.route.test');
>>> app('Dingo\Api\Routing\UrlGenerator');
BadMethodCallException with message 'Method setKeyResolver does not exist.'
推荐文章: