启动 composer install 然后看看 routes/api.php 里面定义的路由,访问试试看吧~ 注解路由定义在 App\Http\Controllers\AttributeController 里 相关链接 https://learnku.com/articles/53227 https://gitee.com/lidongyooo/mini-laravel