企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持知识库和私有化部署方案 广告
>[success] 定义API版本号V1,V2 > ——邓士鹏 >[info] 【route.php】路由定义 ```` use think\Route; Route::get('api/:version/banner/:id','api/:version.BannerController/getBanner'); ```` ![](https://box.kancloud.cn/0dd8e6128e6c5b625fe8efe47eced101_1158x113.png)